Yes, it is an absolute fact of life that Albert Einstein was deeply inspired by Hindu scripture Bhagavad Gita. When Albert Einstein indulged in teachings of Bhagavad Gita for the first time he was totally mesmerized by the scripture for it contained every knowable wisdom right from origin of cosmos to dissolution of cosmos (Pralaya in Hinduism).
The enormity of the writings in Bhagavad Gita deeply puzzled Albert Einstein. It is only after indulging in Bhagavad Gita Albert Einstein realized the true meaning of spirituality and also god.
Normally scientists do not believe in God but Albert Einstein was such a scientist who after indulgence in Bhagavad Gita totally believed in God and his world of spirits, souls atmans.
After indulgence in Bhagavad Gita Albert Einstein for the first time realized that there was something beyond clutches of science. It is spirituality in Bhagavad Gita that proved shallowness of science emphatically confirming that science had its limitations whereas spirituality none.
Everything contained in Bhagavad Gita was new to Albert Einstein. Albert Einstein finally realized that spirituality detailed in Bhagavad Gita had answers to all queries related to mankind. Anything that could not be perceived with the limited parameters of science could be done with spirituality.
Spirituality as detailed in Bhagavad Gita was endless, mind-boggling. It is spirituality contained in Bhagavad Gita that further activated the dormant lying portions of brain of Albert Einstein. Doctrine of Anekantavada and also Syadvada were new to Albert Einstein. It is based on these principles Albert Einstein founded his theory of relativity.
Apart from Albert Einstein, Robert J Oppenheim was another scientist who also believed in doctrine of Bhagavad Gita in entirety.