Breastfeeding/pregnancy

I know some people have gotten pregnant while breastfeeding with no period but does it actually happen?

Like I don’t know how you’d get pregnant with no period.