I am an artist and inventor. I see the muse often. I have made discoveries in math, too. I dare say artistry and discovery are cut from the same cloth.
So, I am an authority on this. I belong in the same room as James Taylor and Beethoven and Michelangelo and Einstein.
The thoughts come from our minds, which depends completely on the brain. There's nothing supernatural about it.
There's things one can do to make a mind receptive to great thoughts. This alone shows it isn't supernatural. Prayer can work, but not because God did something. No, prayer is a kind of self-talk that in its way prepares the mind for a task. Why not just use self-talk, then.
Peace my friend.