Is it legal to pay a foreigner to create an advertising campaign about the opposition peeing on Russian beds?
ROTFL. Other than the risk of a defmation lawsuit, sure. I will say, creating the ad isn;t the problem in that case. Publishing it is the event the creates a risk of civil liability.
There is absolutely no risk of criminal liability for it though.