Are you the government? No, you can't.
Are you a private individual or corporation? Yes, you can, that ability to moderate is protected free speech.
Are you a private individual or corporation? Yes, you can, that ability to moderate is protected free speech.
Being a racist jackass is not a protected class of individual.