No. Every official Sonic the Hedgehog game released by Sega carries an **ESRB rating of E (Everyone) or E10+** (or PEGI 3/7/12). Profanity has never appeared in any canonical game script.
The series targets a broad, family-friendly audience. Dialogue uses cartoonish insults ("slowpoke," "egghead," "you're toast") but never real-world swear words.