https://learn.microsoft.com/en-us/microsoft-365/solutions/manage-creation-of-groups?view=o365-worldwide
What you need to do is create a group that is allowed to create M365 groups and block all other users from creating those groups.
As for the profanity there's a similar question in https://techcommunity.microsoft.com/t5/microsoft-teams/how-to-block-the-use-of-profanity-and-obscene-language-in-teams/m-p/1239487 where you will find how to deal with that.
I would also recommend to create a student policy in teams admin center to block the creation of channels
https://admin.teams.microsoft.com/policies/channels
Hope this helps you out.