No, you can't turn into Shadow in Sonic Unleashed. That transformation isn't available in the game.
While Shadow is a beloved character, Sonic Unleashed doesn't let you play as him or transform into him, so you'll have to enjoy the game as Sonic himself.