I think it can be done. I've written poetry in dreams...but i forget if it was lucid or not.