Yes!
That’s as far as the safety of the job is concerned.
Something you might want to consider is all the other elements of the job during the period of growing a baby.
For one, being a surgical tech is a very labor-intensive job.
It might get to a point where it’s physically causing a problem for you to continue your normal duties.
If you think it’s a possibility before starting a tech program, wait until after the baby arrives to move forward with training.
If you’re already employed, it might behoove you to speak with HR about potential accommodations.