Yes. Here in the Midwest it's perfectly within reach of even a modest tech salary to own a home in a nice suburb. The coasts are just so detached from reality
But throw out daily commuting (or even, really, just accept a reasonable driving commute) and many possibilities open up in many coastal cities, especially given that many jobs aren't in the cities anyway. Yes, if you want to live in the city, many of the coastal cities will be more expensive but, e.g. Chicago is not especially cheap either.