When I was younger I saw n oldfilm (in black and white) called The Man Who Could Work Miracles, it was the story of a lonely loser who gets the power of the gods (but can't touch free will) and screws everything up!
Maybe Bruce Almighty is a sort of remake?
Here's some info about the film: http://www.thespinningimage.co.uk/cultf ... viewid=106