Nursing school with baby?

So i want to go to school to become a registered nurse. It's gonna take like 2 years and i was thinking if anyone out there have gone through the same? Like i want to have a baby but i should go to school. Could i manage it? I was thinking if i could take online classes and stay home with the baby. Because i would not want to have a babysitter, and i want to be with my baby for at least the first two years. I'm just not sure if i could manage it. Opinions? (23/married/TTC#1)