I am feeling a little impish today..
Yeah you can grow that too for sure but I dont think the local authorities will be as ammused as you will be.
This year I did several things in 5 gallon buckets. I did beef tomatos which worked out okay. The Cherry tomatos on the other hand did very well, infact they did far better than the ones I grew in large hanging baskets. I also did very well with Jalapenos and Bell Peppers. The Yellow Crook Neck Squash and Zucchini did fairly well too. I also did a bucket of Cucumbers and had a tomato basket in it for it to cling too and that worked out well too. Right now I have some Snow Peas growing in a couple of buckets although I got them in a little late in the year and may not see quiet as much produce from them as I had hoped for before it gets too cold.
While herbs can be grown in them I think this is a waste. I did my herbs in a Strawberry pot and in window sill boxes and found that this was a excellent way to grow a lot of them and grow them in a compact space saving manor.
If you can get the buckets that pool companys use that have chlorine in them that I think goes by the name of Shock then I would use them after cleaning them well and filling them with water to soak for several days allowing any chlorine to leach out of them is a good bet too. These are about 10 gallons in capacity and work better for larger plants like Tomatos.
Growing veggies this way aint productive enough to feed a family of four all year per se, but I went this route due to lack of space, needing to stay mobile (Im in an RV and RV parks dont have a lot of space and wont let you "build" a garden even if you do) and I eat a lot of asian dishes and there fore I just need a couple of Zucchini, Bell Pepper and such at a time. So this worked out really well for me.
Just my .02 cents...