It depends…
Generally, the answer is no. Trapinch, while having an amazing Attack, is pretty crummy everywhere else. It would likeley be outsped and OHKOd by any attack not named Bind. Even though it looks good on paper, competitive Trapinch is a no-go.
However…
While your poor Shiny Trapinch won't work in VGC-style battles, it does have one nice little corner where it can terrorize everything: Little Cup.
Little Cup is a Smogon tier exclusive to only the first stages of evolutions (Vullaby, Fletchling, Aron, etc.) and that kind of Attack stat is rare for a basic Pokémon. While his Speed is still a hinderance, it can function extraordinarily well on a Trick Room team. Try this set:
Trapinch@ Life Orb/Eviolite
Ability: Sheer Force/Arena Trap
EVs: 196 Atk / 236 Def / 76 SDef
Brave Nature
- Earthquake
- Rock Slide
- Crunch
- Quick Attack
Use Life Orb if you choose Sheer Force and Eviolite if you choose Arena Trap. For more on how to use Trapinch in LC, see here.