Shipwreck City

I saw a fascinating documentary on the giant shipgraveyard in Bangladesh. What if people made their homes in those shipwrecks? Imagine a giant ship city, like Kownloon's Walled City. When the water rises with the upcoming tide, the entrance is closed and the inhabitants are safe and dry.