I went through that. But I did it and went without sleep for a whole year while finishing my degree.
My husband at the time (ex now) wouldn’t allow me to study during the day or evening hours and he wouldn’t allow me to get babysitters. So I got up at like 5-6 with my daughter, and had to wait until he went to bed at 12am-ish to begin studying. I basically got 2 to 3 hours of sleep a night. It was awful!!!