Honestly, I feel like it would've worked better with a random god-like alien behind it all, even if that particular plot mechanism has been done to death in other musical episodes (Buffy, The Flash, and sort of in The Brave and the Bold). I mean, it's Star Trek; god-like aliens putting the crew...