Should offensive/vulgar usernames be banned?

I’m making a new site, where there will be a lot of public comments hopefully, and this thought crossed my mind. Is it right to ban usernames with swears in them? Do people even create usernames like this? Trolls do presumably…