Is it possible to have a baby while in school

Im thinking about ttc but right now im a sophmore in college i figured when it happens i could take online classes at my school when the baby comes then continue my education. Is there anyone who has had to drop or was able to finish that can give advice because my mom just keeps telling me i wont finish