Players definitely trademark their names, but fantasy football leagues don’t have a problem using their real names.
So while I suspect having the correct number on an in game jersey might run into issues simply linking team names, player names, and player statistics is just factual information.