Yes, I believe so. For example, if someone takes a shower in the middle of the night and you hear it, you may dream about water. Also different scents could affect what you dream about. So, yeah, outside sources can affect what you dream about.