Yeah, pot growers have been doing “indoor farming” and going “vertical” for a long time, out of necessity to hide from the DEA.
However, their crops fetch a premium that can offset the costs of electricity for lights and AC, etc.
I’m not sure growing tomatoes or something would be cost efficient enough to get past the advantage regular farming has of free rain and free sunlight.
Our growing season here is the middle of May at the EARLIEST, to about the middle of Sept in a bad year.
IF we're lucky we can make it into Oct., but by then the sunlight is so weak and the days are so short and the nights are so cool, forget growing much of anything.
Fall is harvest the pumpkins and apples time.
It's a wonderful time of year, but you have to have such a limited growing season to appreciate the usefulness of this idea.