If people can move freely, and there's no price mechanism to allocate housing and construction, there will be problems. So "taking the market out of real estate" is a very big ask. In the USSR you couldn't freely move to another city, you needed to get government approval on the basis of a job change. People complained about this registration system all the time.