First of all, myths do not mean tall tales because by 20th century people realized that all the myth around the world has a secondary element of truth.
Now, there is an incident in Greek myth Odyssey where Odysseus and his companions got stuck on a island. The island had a lot of cattle and they happened to be dearer to God Helios, so killing them or consuming them was strictly forbidden. His companions anyways eat them, and made Helios furious, and they all died after Helios cursed them.
Since consumption of cattle was not forbidden in Greek culture, scholars explained this incident as an indication in change in food habits of Greeks at that time may be because cattle became scarce.
Similarly, there are many incidents within the Hindu epics Ramayana and Mahabharata like the Agni-pariksha of Sita, various incidents of Gandharva vivaha, etc., which the writers deliberately included to maintain some kind of status quo or describe some sort of social fabric? Or are these incidents simply included to justify existing rituals?
So my question is:
Did any one do a comprehensive critical analysis of Hindu myths within the purview of social, moral and ethical framework?