I think a big part of housing affordability is young people carrying huge college debt. A generation ago (or maybe two generations....I'm old) young people could afford to take on a mortgage because there weren't saddled with a mountain of college loans.
But I also think young people today have become accustomed to a more expensive lifestyle, and are unwilling to cut back on their social lives to get into a house. They have very specific neighborhoods in which they want to live and surprise!...they can't afford them. Most people forever (or maybe actually since WWII) were not able to afford a house in their neighborhood of choice for their starter home. So you compromised. You bought a house 30 miles out of town and put up with a 45 minute commute to start building equity and begin to climb the housing ladder.
I agree that college debt is a huge issue for one segment of younger folks looking to purchase housing, but it's not enough of an issue with housing overall or you'd see young folks who don't go to college being able to purchase houses at the same younger ages we saw for past generations.
I also don't think that the biggest issues with housing affordability are either "lifestyle choices" or only being willing to live in specific neighborhoods. What we know is that when you look at income vs inflation over time, the cost of living based on essentials (the basics of life) has gone up (and, perhaps, to some extent, what is considered the basics as also increased). So that is one input into the issue. But younger folks deciding to move out to the suburbs wouldn't solve the housing crisis as all that would do is increase prices for those homes and then the folks who live there now would be pushed out of housing that they can afford, it wouldn't solve the housing issue it would merely swap out who owns and who does not.
There is an issue with availability of housing based on location, but it is more about being able to build enough housing (and the needed accompanying infrastructure, like roads) close enough to urban centers for commutes to be reasonable to where suitable jobs are located, not about specific neighborhoods being desirable or not. You can certainly build a lot of housing at an affordable price out in the Middle of Nowhere, NC; but very few people will want to live there if there aren't good jobs in sufficient numbers to accompany those houses.
The biggest issue with housing right now is (1) a lack of available housing altogether within the housing system, (2) the difficulty in creating new housing in significant numbers near urban areas where the majority of folks have available jobs, and (3) the lack of affordable housing within those areas due to market incentives for builders (namely, that when you know that nearly every new house built in a halfway desirable area will sell, it makes sense to push up the price with add-ons that are highly profitable).
Note: I'm choosing to ignore real estate investing that pulls available housing from buyer-oriented to rental-oriented, but that's also a problem in many areas.
Housing availability is a systemic issue, it's not - on a mass scale - an issue of buyer choice.