Victorinus of Pettau (d. 304) wrote the first commentary on Revelation of which anything has survived - if indeed it was not the first. As to chapter 12, he writes:
From the twelfth chapter.
1. “And there was seen a great sign in heaven. A woman clothed with the sun, and the moon under her feet, and on her head a crown of twelve stars. And being with child, she cried out travailing, and bearing torments that she might bring forth.”] The woman clothed with the sun, and having the moon under her feet, and wearing a crown of twelve stars upon her head, and travailing in her pains, is the ancient Church of fathers, and prophets, and saints, and apostles, which had the groans and torments of its longing until it saw that Christ, the fruit of its people according to the flesh long promised to it, had taken flesh out of the selfsame people. Moreover, being clothed with the sun intimates the hope of resurrection and the glory of the promise. And the moon intimates the fall of the bodies of the saints under the obligation of death, which never can fail. For even as life is diminished, so also it is increased. Nor is the hope of those that sleep extinguished absolutely, as some think, but they have in their darkness a light such as the moon. And the crown of twelve stars signifies the choir of fathers, according to the fleshly birth, of whom Christ was to take flesh.
3. “And there appeared another sign in heaven; and behold a red dragon, having seven heads.”] Now, that he says that this dragon was of a red colour—that is, of a purple colour—the result of his work gave him such a colour. For from the beginning (as the Lord says) he was a murderer; and he has oppressed the whole of the human race, not so much by the obligation of death, as, moreover, by the various forms of destruction and fatal mischiefs. His seven heads were the seven kings of the Romans, of whom also is Antichrist, as we have said above.
“And ten horns.”] He says that the ten kings in the latest times are the same as these, as we shall more fully set forth there.
ccel.org/ccel/schaff/anf07.vi.ii.xii.html
My emphasis] **Wherever the interpretation of Mary as the woman comes from, it is certainly not the earliest identification of the woman. **
As to the OT Ark - there are plenty of Protestant books about it. I have two Victorian ones, both still in print, which see all sorts of types of Christ & His Work in the details of it.
As a matter of the history of interpretation, Jesus was seen as the Ark before Mary was. Which would make Him the Ark, & (presumably) Mary the Ark-bearer.