Bizarrely, there is no profanity filter in New Horizons (yet.) It's possible to swear like a sailor with the in-game chat. Of course, using naughty language on Mr. Nook's island can still result in a report, which can in turn lead to a ban.