There were many episodes where there were more than 6 people in I Love Lucy. I mentioned All in the Family because it was realistic and was showing people financially struggling even with two jobs. They lived in a house but it was small with one bathroom.
Even Seinfeld had a small apartment. Many other shows manage to show people living in small apartments. And even with rent control, it isn't realistic at all.
So that is clearly not the real reason.