90 Mile Beach in New Zealand is a little like this, but goes along the beach not out to sea. It’s an alternative to our main route north - state highway 1.
It’s 88km long and while you can drive on it just fine, people ruin their cars on it regularly.
https://en.m.wikipedia.org/wiki/Ninety_Mile_Beach,_New_Zeala...