You can marry and petition to adjust her status but, if you file as a LPR, until the petition is granted it won't protect her from deportation (nor will she be able to adjust her status without leaving the country, triggering her ineligibility to return).

