Strong homeowner protection is almost universal throughout the developed world, including regions where the cost of housing is low relative to wage levels, so whilst it may be true to say that expensive parts of the US and Europe are homeowner friendly and have restrictive planning laws it doesn't indicate any actual correlation. New York isn't super expensive because other places take advantage of greater ability to build to a higher density.
In most lower middle income countries with relatively limited property rights, urban housing that can actually be bought is actually much more expensive relative to local median incomes, though these do have more options in the form of dorms and slums...