DH and I were quite happy in our apartment for several years. We had a garden, and fruit trees: apple, pear, pie cherry. I experimented with lots of herb growing and drying and mix-making, and I learned to grow tomatoes in an earthbox. It was in a two-family house in a neighborhood where we were surrounded by Italian widows with gardens....it was a wonderful place to learn. Maybe you can find something just as wonderful.
When I was a kid, before the family moved to Maine, we lived on a tiny, tiny plot that had no light for a garden. So my folks got some garden space from an older widower. We would spend Saturday afternoons working in the garden. I will never forget those fall harvests. Or the wild peaches he let us pick, or the swarm of bees he had my dad help him capture. SS with NO land whatsoever. It can be done.
Oh, and Dad still managed to get some free chickens and slaughtered them in the garage!
ETA: AAAANNNNNND.....the folks are now in a little subsidized apartment....and Dad has quite an expanding veggie and flower garden there. He keeps his chickens here, and his pig is with my pig. He kills my chickens and he gets half. It can be done.