Yes I have done a few of them for myself and friends on Ducati,Aprilia and Moto Guzzi...If you take it off and wash and rinse the inside good with some dish washing soap and hot water ( I hook a garden hose up to the bottom outlet on the hot water heater if nothing else)
Then let it dry out for a couple months , in the sun as much as possible possible, I have even taken a low power hair dryer and stuck it in the fill hole and let it run for half a day a couple times... The tank will eventually return to its original size.
A good thing to do if you want to take the time and care is to Casswell Epoxy treatment , then it wont swell again and it wont bubble .
https://www.google.com/search?q=casswell+fuel+tank+treatment&oq=casswell+fuel+tank+treatment+&aqs=chrome..69i57j0i22i30l3j0i390i650l3.25640j0j15&sourceid=chrome&ie=UTF-8