It would probably work but there's always the issue of what crawls in there and makes a home
On the other hand, there's also the moisture in the air to contend with.
Painting the tank kind of addresses all of those issues. In my case, with the painted tank, if I were going to store it long term then I would just run it out of gas and leave it. This would only be done for preventing fuel from turning to varnish - it's not the tank itself that is the concern. For off-season storage, with a painted tank, there's no issue of whether it's full or empty or what have you. As long as the gas will still be relatively OK (is, usable) then it's no issue.
It's not a big deal to paint the tank. You just run the bike really low on fuel, pop the tank off, remove the cap and the fuel pump assembly and then do the POR-15 thing to it. The kits come with a tank cleaner and some other things, and the paint. You just do it in/over the bathtub and you're good to go
You never have to be concerned with fuel levels or storage issues etc.
My neighbor has an '83 CB1000 that he bought new. The tank is spotless - literally as new inside. Thing is, he always has to keep gas on hand to keep it topped up and basically do 'tank maintenance'. That's been ongoing since '83
When I considered the issue I figured painting the tank would keep from all of that - and it has. It's a good cheap and easy thing to do. But, I also saw the other side of it when I got the bike, a minor amount of rust around the filler neck that did get worse over time. So I saw it every time I filled the bike and I watched it degrade. For me, painting the tank was a smart move. It killed the rust issue in it's most early stage and then stopped all future rust from ever occurring. I haven't thought about the tank or fuel issues ever since