Reminds me of the book Hamlet’s Mill, whose thesis is that the main mythological epics from most ancient cultures were actually encoded astronomy https://en.wikipedia.org/wiki/Hamlet%27s_Mill
Popular fiction can make use of religious or historical elements without the purpose being to communicate religion or history. Consider the impression a future archeologist will have if the most accessible record of our culture is Netflix.