Opusdei,
I am aware of a critical document theory that states that the first chapter of Genesis was the last portion of the creation narrative to be composed, and that this composition occurred after the Babylonian captivity.
Within the theory is room for that very hypothesis you mention. It isn't universally accepted, but neither is it beyond possibility. The theory entertains that the author's intention was to advance the idea that the Babylonian captivity was punishment from God due to failure to observe the Law, especially the Sabbath. Therefore, the theory concludes, the author's intent was to teach that obedience to the Mosaic Law was the intention of God from the beginning of creation, built into the Jewish culture.
The narrative is composed of a triplet (3 days, 3 days, and the Sabbath), divided into a doublet (the first three days a tableau for the events of the last three), and a finale in observance of the Sabbath. It may have even been the Sabbath prayer used by the Jews during the Babylonian exile or shortly after turned Scripture. It has been used ever since in the Sabbath home service following the candle lighting, recited during Kiddush.
However I don't know how far this has grown into something dogmatic or doctrinal. Most Christians seem to know little about this, even though it is printed in practically all study Bibles of all denominations and found in the footnotes of the Catholic NABRE, the official translation of the Catholic Church in the United States.