The forces of nature these ships work against are nothing to sneeze at. This stuff is not at all trivial.
You can for example start with 1 tug boat that would shave off 200km of fuel usage.
A clever idea would be supported by data that shows how it can be effective. This is just an off the cuff suggestion by someone who's thought about the problem for 30 seconds.
But we shouldn't start juggling around absurd amounts of batteries as long as we don't even utilize low hanging fruit like equipping all those cargo haulers with mighty propulsion kites. That's basically a solved problem, just not happening because the refinery waste ships are conveniently incinerating is still too cheap. Particularly as long as we still burning fossils for electricity on land. Ship engines operate much to optimal load than ICE car engines designed for a market that demands excessive peak power for short bursts of acceleration. The carbon break-even point for ships would require much cleaner electricity than that for cars. Cars are an absolute outlier because their cruise load is so much lower than their advertised power and ICE engines are almost comically inefficient at low load fractions.
I wonder if you could skip the batteries and just put in overhead catenary like trains have. Tugs mostly have to follow the same paths anyway.
I don’t think tugs though can operate in anything above fairly calm waters.