Seems like a pretty risky investment. Especially as fewer and fewer people will have anything to gain from the NIMBY policies artificially increasing prices.
The market (and NIMBY regs) can stay irrational longer than you can stay housed.
Historically speaking, investing in property/land has never turned out risky. Initial cost has little significance in total profit calculation as long as you can seek rent indefinitely.