Well if it’s something like personal fulfillment or enrichment then sure why not, there are plenty of consulting situations around.
This is clearly a gray area, if money is not involved because then we can also talk about volunteer opportunities right?