Yes, in Sonic Rivals 2. Eggman takes control of him and sets him to capturing Rouge.
It does not last. Rouge ends up beating him in the encounter, and the fight returns him to his normal self.