I would design the retaining wall so that you simultaneously have raised beds. It does require a bit more space in depth, but smaller stones could be cheaper (at least that was the case with friends), you have your perennial beds, vegetable bed, herb bed, raspberry plant brought to a back-friendly height. You probably wouldn't occupy more space than with a wall + plants. Additionally, the wall would look a bit friendlier.