As long as:
Your well water level is less than 40 feet maximum lower than your pump
All the connections are air tight
You have a way to prime your pump
And you don't mind working your tail off then it can be done.
If any one of those are not true then you need a pump that rests in the water.