Nah, thats not allowed.
There was a rumor that Tom Brady received compensation payments for his TB12 facility in Boston from Robert Kraft, so that he could officially take a lower salary for the team. I dont recall the NFL ever looking into it because there was no evidence of that happening.