Per the parent comment, the prescribed solution is to eliminate (or heavily curtail) such zoning laws. In other words: “deregulate housing”.