Question: do villagers need a bed?
Answer: Villagers must have enough beds within village bounds for baby villagers to spawn. The beds must have two blocks of clearance above them because there needs to be room for the baby villager to jump on them.