I have had really vivid dreams where I was needed to take a piss and started pissing in the dream but of course I woke up with wet sheets so I assume the same could happen while lucid.. A shit however I don't think that would be possible.