There is a fascinating Container Complex, less than a mile away from the ocean, that overhangs a river. The local zoning laws likely prohibit buildings from crossing onto the sidewalk, so they came up with a novel approach. Just build supports and have one-third of the container hang over the river.
Personally, I would be leery of going into one of those structures, especially in a country that has so many earthquakes. However, it appears that the owners have faith in the supports they built.
It proves once again that the human mind can find solutions to practically any problem.