Pretty much any plant can be grown in a pot as long as the pot is big enough and the plant is looked after. It'll need plant food and regular waterings, especially through the warmer months. The growth of the plant will be restricted in a pot, especially if it's a tree.
If the plant would naturally grow above 2m, then we'd recommend a pot no smaller than 50cm x 50cm x 50cm. For naturally small plants, pots of 30cm x 30cm x 30cm should be suitable.
Bamboo can also be grown in a pot or container, however, the guidelines vary from the above. Please take a look at the following blog which tells you everything you need to know about: Planting Bamboo in Pots