Yes, in several Mario games. You can unlock him in Mario Kart: Double Dash!!, and he shows up as a playable or selectable character in a number of the Mario Party entries.
He isn't playable in the main platformers, where he stays an enemy, but the spin-offs are happy to let you use him.