As someone that lives on a commune, homesteading isn't real. At least in the imperial core of the US. It is nearly impossible to come out ahead homesteading in the US. Feed prices, hay, the back breaking labor of sowing and reaping entire fields just cannot compare with the affordability of the exploited labor of the third world, the factory farms, and the acres of hay fields.
Homesteading is a great way to learn skills and to build character, but it isn't profitable in the US without several people holding normal jobs on top of the work. You will in all likelihood drown. The reason you see all those white people on YouTube talking about their homesteads and how close it makes them feel to nature is because they got money coming from somewhere else, and as somebody who has met some of these people it's usually because they're landlords or incredibly overpaid for a remote job.
Urban farming also has it's drawbacks but I am less qualified to speak on that. What I will say is that you cannot get rid of rural farming and feed the cities, the land just is not there for it. The community gardens are great and a fantastic starting point, but you're not even close to making bread for a small household in the community garden plot.
Homesteading and traditional land practices are coming to an end, if we are not already there. Agricultural land use is now all about monocultures that grow a metric fuckton of grain. Maybe there's some orchards, those are less extractive. But traditional land practices are moving out of the way for tractors and excessive tilling and ploughing. Whenever I leave the farm all I see everywhere is shit land practices, people putting plastic in the ground to separate their beds from the disgusting peasant dirt under it, and invasive plants everywhere that no one bats an eye to, ecosystems out here are dying.
The ecosystems are dying but it simply is not sustainable to even do anything about it. Plus the land all belongs to the bourgeoisie who know the true value of factory farming and monocultures, making it prohibitively expensive for an eco- conscious proletariat. Even then when you do get the land, our sedentary imperial lives do not make our bodies strong for the labor we need to do, unlike the Zapatista comrades who can dig trenches for hours a day everyday. It destroys your body for years before it begins to feel normal. But despite all of this taking care of the land is a hellish feat that has to be done, lest we collect our grains from sand instead.