>I cordially dislike allegory in all its manifestations, >and always have done so since I grew old and wary enough >to detect its presence. I much prefer history – true or >feigned– with its varied applicability to the thought and >experience of readers. I think that many confuse >applicability with allegory, but the one resides in the >freedom of the reader, and the other in the purposed >domination of the author.
- Tolkien
That's as may be, but he was still a product of his environment. Whether there was an intended link or no, the influences of his past experiences cannot be easily dismissed, even if they were not consciously intended.