They can visit (subject to CBP admission, just like any visitor), they cannot adjust status and stay.
Visiting does not impact their petition for an immigrant visa, BUT, they need to be very, very careful about never being out of status or overstaying, because if so, they will not be able to immigrate.