There undoubtedly is a connection, as stated by JK herself: Quote:
When asked whether she is Christian, author J.K. Rowling states:
“Yes, I am, which seems to offend the religious right far worse than if I said I thought there was no God. Every time I’ve been asked if I believe in God, I’ve said yes, because I do, but no one ever really has gone any more deeply into it than that, and I have to say that does suit me, because if I talk too freely about that [her Christianity] I think the intelligent reader, whether 10 or 60, will be able to guess what’s coming in the books.”