All you need is a small amount of vertical space around a balcony or an open window which can hang or store a vertical array of drink bottles that can grow all your herbs and lettuce easily. Recycle as many of your plastic drink containers.
How to make a Sub-Irrigated Planter. I'm not sure I would use a two liter plastic bottle though. Over time I would fear the plastic breaking down enough to poison the plant. Perhaps a wine bottle instead.