Problems
Ezek 16 gives indicators that it is allegorical, but Gen 2-3 does not.
What about allegorical names in Genesis?
Adam = man?
Eve = life?
Possible, but would not expect distinctive names for the 1st man and woman.
Ezek 16 shifts back and forth between literal and figurative, which reader can handle, knowing real story.  How does reader of Gen 2-3 know real story?