I recently tested your idea. And yes, the opponent hits you switches out, and then whirlwinds the switch, and you get a new pokemon.
I however, am going to use a snorlax not skarmory. Why Snorlax? because after looking I believe snorlax is the only pokemon to learn both...