There was a paper presented at the Texas A&M Pump Users Symposium a couple of years ago about using pumps in backflow as turbines to drive generators. This was explored as a possible means of providing electricity in parts of rural India. I looked briefly and didn't find the article. But you should be able to search for it.
Johnny Pellin