Yes, you can take control of Metal Sonic. The trick is to first beat all of the teams in the game. Once you have cleared every team, you will unlock Team Metal Sonic and be able to play as the metallic doppelganger.
So if you have been chasing that unlock, focus on completing each team's campaign first, and the reward will be waiting for you at the finish line.