There is nothing wrong with dreaming. In fact, it can often be the starting point. Some people daydream terrific ideas. Others actually dream great ideas while they are sleeping. Our terrific idea came in a real dream.
Inspiration can come at any time and in many ways.
Be open to it. Tell only those friends that you trust completely. In inventing, the first person to apply for a patent is usually the one who received it. Never tell anyone your idea unless you are sure that they will not try to take credit for it themselves. The first thing to do is to start keeping a journal.