Yeah, the females come out overnight and lay their eggs, and secrete an irritant of some sort, which makes babies itch their bums and subsequently swallow the eggs in their sleep.
It can be very common in nurseries and creches. It’s not really a health risk, other than it disrupting sleep.