No, that's Ditto's Hidden Ability which transforms it and copies the opponent's stat changes. I believe the only way to get it is from a rare Max Raid tucked away in some rocks just north of the daycare, but even then the ability's not guaranteed.
Just give it 252 HP EVs and a Choice Scarf and it'll revenge kill most threats.
Last night's scramble to build a team resulted in forgetting to set two natures, and having to put a bluff as my 6th slot. Not only can I not change my team for the tournament, but I also can't touch those Pokemon at all until it's over.