I did it.
Had been trying for a second baby for 2 years. Just enevr happened. Low and behold, a week after we brought her home, i was pregnant. It was fine.
We fostered 3 puppies just before Christmas, that had been dumped and then adopted one of them.
Can't say this has been any harder.
By the time you baby is born, the dog will be about a year old and much easier.
You just need to make sure you spend a lot of time training the puppy with the expectations you would have with a baby.
So, I woouldnt have a dog sleeping in the bed while I am trying to feed at 1am. So I would make sure the puppy has their sleeping place set up now.
Teaching about not jumping up, sit, stay, wait etc. All stuff you should be doing anyway, but at least you can start training the puppy for the babies arrival right from the get go.
I would also recommended slowly getting the dog ready for baby noises using you phone and you tube videos. Not right now. Let the dog settle and slowly build it up.
Good luck, I hope everything works out for you 