Very easyily during the first stage world, during the tutorial steps!
Easy method:- after clearing the boss earth tree demi god, you enter your tower defense mode world again, before exiting the world to complete the stage, sell any buildings you now don't need (deconstruct any fighting building)and build houses and farms until you have 20 houses.
Pop quick and easy cheevo