You can do it, but it will just be a lot harder to do.
Personally I decided to stay in the Midwest and make 170k instead of 300k, but I have my family, and family matters more to me than an extra 130k in salary.
This is why we need more remote work! People need to be able to live where they need (or want) to live for a plethora of reasons ... brains are just as good in the midwest, or in the south, as they are on the coast.