All kinds of tasty fruit can be grown in containers in small spaces, from dwarf citrus to cherries, apples, pomegranates, ...
You don’t need to own an orchard or live in the tropics to grow fresh fruit. You can grow dwarf fruit trees even if you have a small yard.