Yes. Roblox's community standards prohibit hate speech and discrimination, and an IP ban is one of the penalties available to moderators — in principle, even after a single offence.
Reports and automated filters flag content first. Depending on severity and history, a moderator may issue a warning, silence the account, or apply a temporary or permanent ban. IP-level bans are generally reserved for the most serious cases or for repeat ban evasion, since they can affect other people sharing the same connection, such as a household or school network.
Read the community standards before posting, use the report tools rather than arguing in chat, and remember that private messages and in-experience voice chat are covered by the same rules as public text. If you believe a moderation decision was wrong, the appeals route is through Roblox support, not by creating a new account.