Partly, but also smaller living space is in fact part of the tradeoff that you make when building stuff close together. It's a worthwhile tradeoff in my opinion, but I'm also not saying that single-family car-centric suburbs should be illegal for people who prefer it, unlike how building denser housing is illegal in many expensive cities.