I think I accidentally urinated in sleep last night. I drank a good amount of water before sleep and was extremely stressed. Could that have caused it?

Yes. Isolated episodes of bedwetting at night (sleep enuresis) are likely more common than we realize and can be related to a number of potentially causative factors: emotional stress, poor sleeping habits; excessive fatigue, increased fluid before sleep (especially alcohol and caffeine), medications, sleep aids, particular dreams, etc. Rx: Reassurance, identify and correct possible cause(s); monitor. .