If you want to grow vegetables, but do not have the room, consider planting vegetables that grow on a vine.
Vegetables like squash, melons, and tomatoes can be trained to grow up along a trellis or fence. https://antiagingtreat.com/suta-rakkusu1540/suta-rakkusu1540noshuusei/comment-page-15/