"Harry *Potter,*" not "Porter!"
No, I don't think so. Love the Harry Potter books, but a novel (or series) of them doesn't simply substitute for a collection of holy texts such as the Bible or Koran or the Book of Mormon--or whatever.
They make quite different claims on the reader--and of course, Scriptures (good, bad, or indifferent) always arise within the frame of some sort of social context--a proto-religion, a group of believers.
In other words (and in my opinion) we don't believe doctrines because of a mysterious book; rather, we produce Scripture to codify and explain beliefs of groups which already exist. Note that you can have religion without Scripture--but there has never (to my knowledge) been Scripture without religion. (Though there can be spiritual thought and writing without religion--and such writing can be incorporated into Scripture if adopted by a religious community.)