Don't be ridiculous. There are no parables in the Bible.
And that typically is the bottom line reason for the debate. Biblical literalists are unwilling consider the idea that Genesis is an allegory, or that it was the first compilation of a tradition of oral history that had been passed down for generations until it became a set of core beliefs for a tribe.
As long as one believes that each word in the Bible was directly whispered in the ear of the person who merely was acting as a scribe, then that person can not, as a matter of faith, believe that each word is not factually accurate.
So you get light with actual days and nights before the sun and the rest of the universe is created days later. God was really busy on the 4th day of creation. That's when He created the sun, the moon, and the rest of the universe, having chosen to only create earth's plants on the previous day.
But if you're a literalist, you have to accept, believe, and defend all this and much more. It's not an enviable task.
Throughout history the Jews have interpreted this, like Job, as what is known as a Pesher, an allegorical story meant to describe & teach a lesson or moral law, not a scientific or historic description.
Your insight about relating this to a parable is very accurate.. Jesus actually used the Pesher tool quite often in his teachings..