Quoting DamonSalvatore=Addiction:" Do not quote please as this isn't about me. I have a family member who has 7 children with 7 different. ... [snip!] ... 30 after the abortion. How us this even legal? I'm curious, i know the court ordered tubal ligation is legal but the abortion?"
To my knowledge no court can order such a thing. They may 'recommend' that, but it cannot be legally ordered. If someone is going through that, I suggest they appeal the decision and go after the judge who tried to order it. That's a violation of her reproductive rights. It doesn't matter if they agree with her lifestyle or not, they do not have the right to tell her she cannot have this baby or that she is no longer allowed to have children.
So in a word...no...that does not seem legal. She needs to speak to her attorney on the matter and fight the entire situation, odds are...she'll win.