Much of Eastern Europe tried this between the 1940s through the late 1980s. The result was blocks upon blocks of cramped, drab apartments with long waiting periods to get one. If you were married, you could get one sooner, which resulted in unhappy marriages. It sounds good in theory, in practice it didn’t work.