Insurers plan for extreme events that could crater their solvency. Shouldn’t all levels of government do the same?

What if a storm like Melissa hit the northeast US?