After the birth, I am not sure how would that work.
And giving babies for adoption is a thing, and not just in an anonymous “drop it somewhere where they will take care of it” sense.