A charitable society can certainly get a patent registered in its name since there is nothing to suggest otherwise. Of course, the by-laws of the society would have to be checked.
With regard to your query relating to raising corpus fund out of it, I believe the answer is yes. You may also consider the following link:
Hope this helps.
Advocate I Registered Patent Agent