Sure. There are certain things that society has decided aren’t suitable for children and those things are usually excluded from places of learning. Let me take a different example. There’s no link between selling drugs and trustworthiness - selling drugs isn’t a reflection of how trusted you are or aren’t around children. You have made a career choice which most of society believes is unsuitable for putting you in a position of trust in a place of learning. It is not a judgement on you ax a human being, nobody is saying this woman should have her own kids removed. The argument comes from suitability for the environment.
Where it changes is whether the person is still actively engaged in the job or not. If not, then I don’t have a problem with it - if so, then I think society has a duty of care in this instance. Would you allow a professional influencer who was pro-anorexia work in the school? Or would you have concerns? She may be entirely trustworthy - but that’s not really the question being asked.