It's also backbreaking work, and you won't be able to do much else except subsistence farming.
In short, it's not practical for the vast majority of the population. The closest we can probably get to this model is instead CSA memberships, supporting farms right outside the dense urban areas which can leverage economies of scale to feed several hundred people.
I mean, sure, grow your spring onions, your herbs, and a tomato plant. It's nice. It keeps you connected to where food comes from. It's a yummy addition to your plate.
It won't feed you in an emergency, though.