I have done that several times.
In one instance there was a serial killer in my house, I became lucid and summoned a giant spider to deal with him.
In another one I just told him it was a dream and it didn't matter what he did, and he had a mental breakdown.