Historically that doesn’t make sense. Usually by not relocating you can extract greater concessions from your fellow citizens. As an example, if you left Rancho Palos Verdes when signs showed up you could have bought an equivalent home. But if you waited for your property there to be condemned, you received money equivalent to the maximum of the price in the last three years. The latter is obviously superior to maximize your own capital with the bonus that you get to live there until it is dangerous.
Likewise, the flood plains of Texas are cheap and nice to live in when there are no floods and when floods are imminent you have sufficient warning that you can evacuate and the federal government will compensate you. You can then go back and live there. This one is harder because it is unpleasant to move and you don’t receive the inflated price but it does incentivize some on the border.
Of course the fires in Malibu are a story of going too far in the wrong time. If they’d had a sympathetic administration in the federal government likely some kind of compensation scheme could have been worked out. So you have to work on the politics and the economics.
Keep in mind, at some point, insurers simply won't pay out.
At some point you’ll have to do it without insurance or mortgages though. There are places on the island of Hawaii where neither are available due to volcano risk.
Its probably cheaper to start buying out people now (no way this cost isn't going to be socialized) than to risk in the future ultra expensive bleeding heart projects to kick the can down the road.
At the very least a moratorium on new builds and additions should go into effect immediately.