Good luck bud. Much of this depends of what you are growing and how. How long you veg is also very important as the smaller the pot the less time you want to veg so you can avoid root issues. It is possible to grow in small pots, just have to do your grow accordingly.
@NukaKola likely has more practical experience than I in this so perhaps he can help you with some of the details. The idea of putting 8 to 10 1 gallon pots in that space would not work for me but that doesn't mean it can't work. Currently I have only 1 plant and it takes up my whole 5x5 tent in a 5 gallon pot. I started germinating 4 seeds yesterday to start my next grow and that is all I will be putting in my tent. As I say, it depends mostly on how you do things. Lots of great folks here to help so keep on it. Hope it all works out the way you want