That's one way of looking at it....
However, it must be pointed out, in all fairness, that one point
constantly mentioned in HP's books: magic is not the total answer.
Time and again, in the book, love, sacrifice, as well as wisdom is
featured constantly.
Unfortunately, detractors always seem to focus on the "magical"
elements.
If I were to fault Narnia, then I am really offended at the Father
Christmas character in the story. To me, the inclusion of this
character is an insult to Christianity. In any Christmas
celebration in any country, the Father Christmas character
continues to dilute the true Christian message: one of sacrificial
love of God.
It must also be pointed out, from the literary sense, what is
allegory to Lewis:
C.S. Lewis used a very strict
definition of the word 'allegory' - after all, one of his most
important academic books was a study of this subject. He wrote to
some Maryland fifth graders in 1954:
'I did not say to myself 'Let us represent Jesus as He really is in
our world by a Lion in Narnia'; I said 'Let us suppose that there
were a land like Narnia and that the Son of God, as he became a Man
in our world, became a Lion there, and then imagine what would
happen'.
Another point that is important is: The entire Chronicles series
were not meant to be Christian literature per se, as compared to,
say, Lewis' Screwtape Letters.
Are there good "magical" imagery in Narnia, of course! The magic
healing portion, the bow and arrow set.....
Again, I wish to state that I am not pro HP or magic. I only ask
for consistency in our judgement over such genres.