The Buddha idol seem to be a negation idol.
And Mara is a referance to Iblis Ash Shaytan/Elf.
And Buddha seems to have grown up in Hindu society. He probably was someone who corrected himself in this.
Trying to be correct with philosophy is to tangent Devotism. A later development is the Maytreya Buddha.
The Bahai who base themselves on Devotism, claims their leader fulfilled the Maytreya legend.
Devotism, and establishing the worship of Ta, The Kind, The Beneficient, is indeed enligthenment.
Bud-Sufism is also about this.
There is not much left in Hinduism of it.