It's possible to own a condo apartment, or if the building is structured as a co-op, then rent is permanently affordable and you have a stake in how the building is run.
Sound proof walls are a thing, as is owning a single apartment. It works pretty well.
Also this idea of owning is just bs. Most of the money goes to a bank in form of a mortgage intrest. Once you paid that off, the children leave the house and you are stuck with a property designed for a larger family. Much better to move to a smaller space at that point, which is cheaper and easier to maintain. That is not even talking about the option of moving to a better job or something similar. Selling and buying a house can easily cost a years worth of rent.
Decomodified housing, like housing cooperatives solve a lot of the renting problems.
How many landlords do you believe would install soundproofing or even allow the renter to do it? Before i hocked my soul for my home here i was a renter for a half century. No landlord i ever dealt with would allow the tenant to so much as swap an outlet to a proper code one. Nor would they entertain the thought of doing so themselves. Long as it was working it was left alone
Ah, a housing cooperative is where everyone who lives on the property has an ownership stake in the property. There's a bunch of different ways to organize it, but that's the general idea. You don't have a landlord so much a neighbors that you make decisions with when something needs to get done that will impact multiple owners. Anything that only impacts your own space is totally your call.
And that is exactly the point. In a housing cooperative the owner is the homeowners association of which all tenents are members. If done right that means cheap rents and decent upkeep, as soon as the debts are paid off.