One of the cool things about the “God is an imaginary character” hypothesis is that it does such a good job of predicting the actual behavior of the gods. In any situation, you can predict exactly what a god can and cannot do merely by knowing what an imaginary supernatural character can and cannot do. That means that god (or any other magical, imaginary being) can do anything you can imagine—but only in a story. And he/she/it/they cannot do anything more than that.
This makes gods much better at magic than at science. Magic is easy to imagine: all you have to say is, “A, then poof, then B”. Magic is a literary shortcut, a way to get out of explaining the exact process by which A supposedly produces B. Science, by contrast, requires that you understand what you’re talking about.
Take creationism for example. Ken Ham says a lot of stupid things, but there’s one thing he’s got exactly right. There is no way anything as elegant and amazing as evolution could possibly have been created by the God of Genesis. The people who told the Genesis story simply did not know enough about biology and genetics and heredity to even begin to conceive of a process like evolution. All they (and their imagination) had to work with was superstition and naive observation.
As a result, the Genesis creation story is exactly what you would expect from an imaginary deity: ordinary observations, somewhat tainted by ignorant misconceptions, assigned to one or more creators by means of magic. Literally translated, “gods said ‘Let there be light,’ and there was light.”
How do sound vibrations in air lead to the emission of photons? Primitive Bronze Age tribesman had no idea, so poof, magic. You know that if somebody big and tough says, “Do something,” you’d better do it, or he’ll punch you. Life in ancient times was brutal, and so it was easy to imagine somebody so big and tough that if he/they said, “let there be light,” the light would be too scared not to start existing.
And that’s pretty much all the gods can do. Within the story, they have whatever power they can draw from your imagination and willingness to believe. But whatever you can’t imagine, or aren’t willing to believe, they can’t do. And if you don’t know, or refuse to believe, what science finds out about reality, then your gods have no power to create or use science. They can do magic, because magic is easy to imagine, but they can’t do science because that requires genuine understanding, which is incompatible with superstition.