You can go to not quite as extreme levels. There are thousands of small towns all through Appalachia, the Midwest, and the Northeast with a bit of interesting local culture and a low cost of living. Not this low but they also have hospitals and often colleges and other things.
If you are a minority concerned about the culture of red America, the 2016 and 2024 elections both provide excellent county by county color coded maps for you.
Telework is what really unlocks this if you’re a developer.
The Midwest also has many medium sized cities. Not as cheap as small towns but not as expensive as the coastal real estate cost traps. I live in Cincinnati, which has three universities, four Fortune 500 companies, a small startup scene, and over a dozen small neighborhoods with walkable streets (overall you’d want a car but you could get away with not using it every day).
At some point the only economically rational decision is to leave very high cost of living cities. I tell people for cities like SF that it might be good to go there to launch your career but look at it like a college. If by 30 you are not making — for SF I’d say over $300k — then leave. You will never get above real estate in those places unless you are approaching mid six figures.
It also negatively impacts what you can do. Even if you can earn that, it might be with golden handcuffs to a FAANG. Think about that. If you want to start a startup, one that is not lavishly funded enough to pay that, then leave. If you just don’t want to be golden handcuffed to a monster mortgage, leave.