Is it possible to animate a Moveable custom water body

Hi all, I’m wondering if its possible to animate a custom water body object u and down whilst retaining buoyancy. Imagine a canal lock where a body of water transitions up to the next level of water. Currently using 5.2.
Any help would be greatly appreciated