The mule can travel on an overhead rail, or have mules on each side.
Rail or battery rail powered rail cars (basically an engine and a hooking system) on the rails pull the ship, positioned on the canal.
The rail trucks can have big V shape receivers for the crew to throw the tether ends to reconnect without having to stop and come ashore.
Of courses you then have to look at the cost and general burden of installing all this infrastructure, maintaining it, ensuring the safety of having the trucks not crushing anything, making sure the boat arms can ensure trouble free crossing.
But yay, you save a lot of fuel and it might be more efficient than the boats propelling themselves.