It is possible, but rare at best, that oviparity can be derived from
viviparity, according to some recent cladistic analyses involving
extant lizards.
Don't they perhaps involve facultatively oviparous species? Populations of
*Lacerta vivipara* that live at low altitudes lay eggs, while the rest of
the species doesn't.