Water pump automation

Hi,

I have a small well in my garden which takes 45 minutes to fill with spring water. I have a pump in the well which I am using to transfer the water into a pond which takes 5 mins to empty the well.

Is it possible to set something up whereby a plug is activated for 5 mins, turned off for 45 mins and then start the cycle again??