There are magical means to produce children for people who normally wouldn't have had children. There are procedures allowing for people of any gender combination or more than two parents to have biological children, as well as artificial wombs for women who would't have been able to carry otherwise. After the war, Harry, Ron and Hermione, who lived in a happy poly relationship, used those means to have children related to each of them.












