In 1862, August Kekule von Stradonitz had all but given up the pursuit of the structue of benzol when he conceived its hexagonal structure (the "benzine ring") as the result of a dream he had of a snake biting its own tail. Dreams are not part of the rigor of methodological materialism.
What matters in science is how you validate ideas. Methodological materialism concerns itself with evaluating hypotheses.