Welcome to NGA!
I have grown them in pots. They don't seem to notice. Just make sure the pot is a good size - at least 5 gallons, 10 would be better. If you live in a warm climate (please update your info to include where you are - we will have better answers that way), the pot will have to be insulated. Heavy terra cotta or one of those double walled foam pots.
Daisy