my first growcab was a 2x3x5 with a 400 so it is possible but you need air cooling and atleast a 440cfm fan.
This greatly depends on where you live. Im in the northeast and always had ideal temps. I still use that area today as a veg room and there is a 400mh in there now.