Did Ty Cobb ever pitch a perfect game?

No. Ty Cobb was an outfielder and not a pitcher.