
Yep, because Nia calls the ML "Blind Idiot" (Azathoth's nickname in Cthulhu mythos) and Nia has a ring with the name same as Nyarlathotep's artifact in Cthulhu mythos, Nia serves the "Blind Idiot" (while antagonizing him) just like Nyarlathotep does in Cthulhu mythos, and the other entities talk about the ML being superior to "Crawling Chaos" (Nyarlathotep's title in Cthulhu mythos).

Improved answer: This is based on the fictional "alien god" characters from some really old science-fiction horror novels and short stories written by a nerdy club of 'science-fiction horror' writers around the same time that Lord of the Rings was first written... The most famous writer in the club being someone whose last name was Lovecraft.
I think ML and Nia are Azathoth and Nyarlathotep?