Yes, but it’s design and memorialization to her are deeply intertwined with religious significance:
http://counterlightsrantsandblather1.blogspot.com/2013/12/th... (“According to Muslim tradition on the Indian subcontinent, women who died in childbirth are regarded as saints. Shah Jahan had all the more reason to revere his beloved wife as a saint when she died giving birth to their fourteenth child. The design of the Taj Mahal reflects the legacy Shah Jahan wished to create for his deceased wife, not only as deceased royalty, but as a saint. Our experience of the Taj and its gardens is not only about grief for a beloved wife, but a foretaste of the paradise that awaits the righteous and a premonition of the final Day of Reckoning as it is described in the Quran.”)
It was built by people who feared God and wanted to build something lovely in his sight.