Dark Void's 2-hit scope is what makes it different from other sleep-inducing moves, so as far as I know, there's no passive clause against using it in doubles.
Check with whoever you're battling to review the rules they want to fight by, and if there's no rule involving Dark Void, then I think it's safe to use.