Not in a permit aircraft and only from licenced aerodrome. Otherwise OK if pilot receives no money at all and the benefitting organisation really is a registered charity.
I had to explore this myself sometime ago and had to refuse to do it on the licenced aerodrome and permit rules.