I'm planning to install a water pump using electric generator from a very long distance going up from a cliff
if it is powerful enough to power the pump then yes.
Well yes it wiould , powerful pumps need more electric power so check that the generator can supply the power needed by the pump