It doesn't take a lot of land to raise chickens and with a few, you already have more eggs than you know what to do, ergo you can pool that with neighbors. Someone can own a cow, which requires 1 acre of pasture but produces enough milk for many families.
If you want to see what this looks like at scale, just look at the countryside in Europe a century ago. Villages are mostly townhouses all huddled together, often with long-stretching back yards supporting vegetable gardens, and fields all around. Is that hard work? You bet! A lot more physically demanding than city life. But also more sustainable. The downside of course being that there's so much focus on basic sustenance that few people can devote time to occupations of the mind (which is primarily what cities are devoted to). It seems over time the 2 models have fought each other and the city has won, but a question to ask is if this has been at the cost of resilliency.
To me, this is the attraction of suburbia. Not the nice lawns (though I have one) or country clubs, but the ability to have one foot in the city and keep at least a toe in the countryside, with my own vegetables.