I wouldn't do it. I don't see it as a given that an illegal alien would be given status after marrying. Heck my brother was in the US legally and he and his American wife were given the gears when they were interviewed for his green card application.
I know families that have been torn apart by deportation. I know I couldn't handle that level of uncertainty in planning my life with someone.