No, Sonic the Hedgehog is a boy. He's the male blue hedgehog speedster who's been the star of the series since the beginning.
His character is consistently portrayed as male across the games, shows, and other media. So there's no ambiguity there: Sonic is a guy.