I am a freelance developer and added footnote to my invoices explaining I donate 1% of the amount to an open-source project used for the assignment. I ask them to propose the projects they prefer but almost no one does.
I really like the idea but maybe talk to your direct point of contact at the client instead?
(1% is likely to small to make a difference, but a fun thought experiment).