Every scientist does that at some point. I've easily crossed my fingers and hoped numerous times that code I'd written would work, especially on the first time. Even more rewarding in the superstition when the project is hard, and you're a bit daffy at the end.
It's a human thing.
Surely Feynman made jested comments before running experiments. I'm sure some digging in his wonderful books and letters will find many examples.