Although Ramayan, Mahabharatand its characters are cherished by millions and Undoubtedly they inspired the Indians for centuries but ironically many also believe that they are my thological.
If one reads the history of Europe one can not miss an important feature that in an area of some sqkms there resided numerous tribes, cultural and ethnic groups, it is said that there are some 160 culturally distinct groups in Europe Norse people popularly called Vikings, Saxons, Hans, Boli, Osi, Saami, etc sometimes just a River divided the two tribes and they were often at logger heads.
We know how the Germanic warlike barbaric tribes kept tormenting the Roman empire and finally defeated them. We also know how the Nores people from Denmark infamously known as Vikings created terror in rest of Europe and spread to Sweden, England and so on. So, from that point of view could the Indian subcontinent be different.
There would have been numerous tribes and cultural groups residing here thousands of years back. and Each tribe/cultural group was inspired by these scriptures that were written much before Bible and Quran speaks volumes about the missionary zeal of the people who wrote them and thereafter shaped the thought process of millions of people belonging to different cultural groups/ tribes without much bloodshed and violence unlike what happened in Europe and rest of Asia.