The video is hilarious. I think that it is a good idea. I mean, you could kind of tell that she was itching to get out of the bathroom / if her behaviour was better after it seemed like maybe it was working?
I have attempted to put my cat in "time out" usually when she's super rowdy or behaving in a way she knows is bad! (also known as, coming in to my room when I'm sleeping, jumping onto my dresser / knocking everything off in sight, so that I will get up and pay attention to her) But, unfortunately, it did not really seem to have any sort of effect, so I gave up. Maybe I was not persistent enough. I usually felt pretty guilty after a few minutes for putting her in the spare bedroom, because she'd meow and claw the door excessively. She pretty much gets away with everything