This is also the downside of renting -- the other tenants can be lousy. Banks know this and will not lend in buildings without a minimum rate of owner occupied units.
I'd guess that one of the reasons home prices in 'nice' neighborhoods are so high (or HOAs charge high dues) is a sort of signaling, similar to nuptial gifts in animals, that you have your act together and are invested in being a good neighbor.
I could never see myself buying anything that's not a detached house. It seems like you have too many of the downsides of renting. When I was living in an apartment, a never once said, "if only I could buy this place and have to deal with people on each side of me".
But as far as buying in a high priced area or even renting in a high priced area, price does provide a filter.
I'd guess that one of the reasons home prices in 'nice' neighborhoods are so high (or HOAs charge high dues) is a sort of signaling, similar to nuptial gifts in animals, that you have your act together and are invested in being a good neighbor.