I'm quite confident the league has a code for such words, enforced on the field and in one's own lockerroom
a rumour about a certain former pint-sized former Bills QB using a bad word and losing the respect of his entire non-Bills team instantly, floated around at the time, if it did happen it was dealt with internally
the team certainly had no use for him during his tenure, including a playoff game