For the classic Sonic games, there are debug modes available for Sonic 1, 2, 3, and 3 & Knuckles that let you experiment and access extras. A good place to find them is www.gamewinners.com.
Keep in mind these are typically debug or cheat features rather than a straightforward "turn into Super Sonic" button, so check the specific codes for the game you're playing.