That’s actually not a bad idea.
If the ship goes up and down with the tide, could you not set up a system of pullies and weights and counterweights, like a cuckoo clock?
You might not get any power out of it, but you’d get a cool animatronic show ever hour!
If the ship goes up and down with the tide...
I’d be concerned about it going down and not coming up, ever.