I think Tolkien was accused of that, Nimh, partly because of the idea of different races, some of the evil, inherent in the book, and also that the Nazis of Germany apparently believed literally in some of the Scandinavian mythology from which Tolkien read and on which he may have loosely based his work. (His fellow lecturer at Oxford, C.S. Lewis, was also very interested in those mythologies.)
Anyway, I found this quote, purportedly from Tolkien, which seems to answer those accusations:
Quote: from
Science Fiction Weekly:
What were Tolkien's attitudes regarding the Nazis? When asked by the Nazi government in 1938 to provide evidence of "arisch" (Aryan) parentage before a German translation of The Hobbit was published, Tolkien responded: "Personally, I should be inclined to refuse ... and let a German translation go hang. ...
should regret giving any colour to the notion that I subscribed to the wholly pernicious and unscientific race-doctrine." And later, in a direct letter to the Nazi government: "If I am to understand that you are enquiring whether I am of Jewish origin, I can only reply that I regret that I appear to have no ancestors of that gifted people ... if impertinent and irrelevant inquiries of this sort are to become the rule in matters of literature, then the time is not far distant when a German name [like Tolkien] will no longer be a source of pride."