Absolutely! Container gardening works well for both fruits and vegetables. With proper care, the dwarf or mini variety of fruit trees, such as apples, cherries, and peaches, can last for several years planted in a container.