Yes, Dusknoir can be used for a Trick Room setup due to it's lack of Speed. Here's a good Moveset:
Dusknoir @ Leftovers
Ability: Pressure or Frisk
Nature: Adamant (+Attack -Sp. Atk)
Ev's: Attack, Defense and Sp. Def
Role: Trick Room Setup/Staller
- Trick Room
- Double Team
- Toxic/Will-O-Wisp
- Shadow Punch/Fire Punch/Ice Punch/Thunder Punch
Trick Room is used to make Slower Pokemon move first for 5 turns while Double Team and either Toxic or Will-O-Wisp are used for stalling and the 1 of the 4 Punch moves is used for coverage (Shadow Punch is STAB for Dusknoir and it never misses while Ice, Fire or Thunder Punch are used for coverage)
Hope this helped :)