No.
I’m too lazy to do it myself but 5 minutes of searching and calculating will show you that the area of solar panels required to move a ship is far, far, larger than the area of that ship.
Not to mention that a container ship’s deck is typically completely covered with, well, containers.
Also, lithium isn’t scarce.