I mean, it's 1 vs 1, you're not allowed to switch, so would it work?? Btw, this is on Pokemon Showdown.
I need a credible source, and if you tested this, a battle log / battle replay.
It Doesn't work. I've tried it and battle replays don't work on Oriv.