The timeline doesn’t have to know the locations. The Lerp node can take in the start and end locations whatever they are, and then the timeline just updates how far along that line they are.
If you need the boat to navigate around obstacles etc then maybe your idea is the right one, though, using Navmesh and character moveto