It depends on local jurisdiction. In Cape Cod (Massachusetts), for example, any permitted renovations to old structures or construction of new structures requires significant structural updates to comply with a thorough building code meant to help their structures remain inhabitable through and recoverable from storm surge.
Locals complain about it because it's expensive, and because the resulting coastal house on concrete stilts isn't aesthetically pleasing. But it's the only rational thing to do in 2022 if you want sustainable coastal development.
In Florida, where things are more "laissez faire", things may be bit different.