That in and of itself won’t get you into trouble.
Unsupported if it goes South.
Now, ask yourself, where is the person trading you gold getting it from?
If it’s someone you know, well and good. If it’s not - it’s probably coming from scams, botting and account theft. THAT is very much against the rules.