It might be a good bet, especially if speculation in housing is slowing down compared to the last 20-30 years.
If capital dominates, you're going to run into scenarios where it's fundamentally impossible to ever afford scarce goods that generate returns, because someone who started with more capital will now have an even larger delta with you, and is therefore able to outbid you.
I don't ascribe to everything, but it's a thought provoking perspective.
How much of salary - CoL can an average person dedicate to building capital?
I'm not saying it's hopeless, only that there are systemic factors fighting against home ownership in extremely supply-limited cities.
It's rare for folks to immediately dump their investment properties because the housing market has cooled off.
My wife is from Prague. A gem of a city, but unaffordable. Too much speculative capital from Russia, China etc. Being a slave of a mortgage until 70 is a ghastly prospect.
I am from Ostrava, a post-industrial city where property prices are about a third of Prague level. Incomes are lower, but not that much lower. For an accountant (my wife is), the difference is about 10 per cent. Overall, much easier to sustain middle class life standard.
She does not like the idea of leaving her native city, but if we manage to have a child (still a very open question), we will have to, at least for a few years.