This is something I plan on discussing in my Harry Potter Lit class. It is fascinating how Rowling eliminates religion. I read a paper about Harry being a Christ-like figure and Ron and Hermione were John and James. It should be a lively discussion.
I’m pretty sure Rowling worked very hard to remove all references to religion from the Harry Potter series. This is very hard to do because most magical practices integrate religious beliefs into them; in many cases (Shinto comes to mind) the are inseparable. You generally need a spiritual landscape for magic, and this is completely missing in Harry Potter - just have the right genes and you can wave a wand speak some works and get results; its more like “Psionics” in a lot of ways. I don’t think this could be accidental.
As for Harry Potter being Christ-like, I don’t buy that for a nanosecond, but I can see why some would work at looking for it.