(I realize after writing this out that being at the mercy of your hospital sounds draconian, but it can be really really great if you have a good nurse or midwife. They teach you how to bathe and swaddle the baby, how to nurse, how to rock them to sleep, etc. All skills you’ll need once you leave)
It also has some similar pitfalls, as they are not necessarily specialists and it's still hard to disagree or do something else even if in your own home in the face of the supposed expert.