I don't see a problem with your proposed method of connection, but good luck finding a solar panel of a suitable size to fit on a mower and provide the level of output you need.
Make sure the solar panel output voltage cannot exceed the maximum allowed input voltage to the mower.