Sleeping with toys

I was wondering, have you ever went to sleep with your toy inside? My friend told me, she does that to get erotic dreams. I am kind of courious about it. What do you think?