This happens all the time and is perfectly legal.  Someone runs a company and they want people who work for them to contribute to their charities, causes or political candidates.  This is commonplace and their is absolutely no law against it.