I grow my tomatoes in large pots (10" or 11" diameter) on a sunny patio up canes fixed to the house wall. It works though the fruit doesn't ripen until August or September in most years. I try to choose varieties that are described as suitable for outside growing. If the pot is large enough and you keep it well watered, you've got every chance of some success.