Perhaps. The writers may have been closet atheists, rather than explicit anti-polytheists. Hollyweird is like that.
Most scifi is anti-theist, but in its own way, a materialist version of polytheism (if there is fantasy involved). Most scifi is science fantasy ... because actual fiction restricted to actual science, would be a documentary.
So how did you like Young Einstein? Had nothing to do with physics, was entirely creative burlesque.
I took Buckaroo Banzai the same way, only without abusing historical personages.