Demloth of Dol Amroth - Yes, I agree with you that they are very similar, but in a letter to Milton Waldman J.R.R. Tolkien says that he has been inspired by other religions and myths. However, he also says that he didn't want a Christian Middle-Earth but a religion of their own.
This letter is written in full in the Silmarillion, edition: 1999. Page x to xixx.
__________________
'You?' cried Frodo.
'Yes, I, Gandalf the Grey,' said the wizard solemnly. 'There are many powers in the world, for good or for evil. Some are greater than I am. Against some I have not yet been measured. But my time is coming.'
|