It was Sister Nivedita who sent painters like Abanindranath to under take visit Ajanta/Ellora and include those in Hindu pantheon:)- when Indian nationalism was undergoing huge change due to partition of bengal!
After all, they were created during Gupta period, supposed Hindu Golden period when the Upanishads, The Mahabharat etc were written down.