It is a pretty well-known fact that dreams are often manipulated by your thoughts just before you go to sleep. If you were playing D2 for a few hours, then went to bed directly afterwards, a relatively soon afterwards, you would most likely have a dream that was somewhat incorporated with a D2 theme.