Impossible. No option to play as Carnage, nor cheats/mods enabling it in Ultimate Spider-Man (Xbox).
The game focuses solely on Spider-Man's story. Carnage isn't a playable character.
Perhaps confusing with Spider-Man 2 (2004, PS2) where you temporarily control Venom.