Literally anything can be made legal. The people who want the money can lobby legislators until they get a law they want passed. Nothing stops it. Lobbying is legal, and lawmakers can make any law they want. They can even make a law that allows corporations to abuse people (which is weird since corporations are people, but we don't generally allow people to abuse people)
Thanks for writing this. Many times when people ask "Is it legal?" they miss this nuance. What they often mean instead is "Is it moral?" It is a great accomplishment of the political class to have manufactured this ambiguity.