It takes quite a few solar cells to move a decent quantity of water uphill for extended periods, and a heck of a bank of batteries if you want to run it into the night. If the well is shallow, you can move more water for less energy vs a deep well.

Skip the batteries, spend the savings on a larger water reservoir and pump. Move more water when the sun is out so you dont need batteries for pumping at night.

It all depends on how much water you need to move and how far. First you need to find the loss rate though to know what you need to pump. Measure your pond size, loss in inches over time, and then you can find loss in gallons vs. Time. Then you can get a good idea if a well will even make a dent. You can also calculate how much energy is required to move those gallons per unit time up to the surface of the pond.