Yes. “Gratuities” are bad and can function like bribery. But if you want people to be punished criminally for it, the legislative branch has to pass a statute saying that.
I’ll leave constitutional questions for another time. There, the ideologies of judges have more impact.
I’ve just argued many times in court, “Yes, action A is bad. But statute X bans actions B C D & E, not A.”