I don't think it is abnormal to want to take away the cause of your child's lack of security, unhappiness and rapidly escalating distress.
But having poked around on Google based on info in Dino's posts, the issue might be a perfectly natural misdiagnosis of what is the cause.
In the sense that it would appear that it is far from unusual for a child who has suffered trauma due to parental marital breakdown to display heightened separation anxiety which manifests as avoidance of school, for obvious reasons.
In which case take away school, the child seemingly seems happier, but becuase just a symtom has been masked, the insecurities and unhappiness remain. Perhaps better hidden. But still there. With avoidance perhaps becoming entrenched in the formative years as a good coping stratagy.
So as I understand it, with the best of intentions the parent can inadvertently shut down the child's communication of mental distress over life events by providing a context that allows a masking effect. All while leaving the child with an unresolved issue in a context where there is no longer the pressure of an evident pressing need to seek extensive help in getting to the root of the child's pain..
In short, works great for the parent becuase they no longer have the guilt and the pain of a child in distress. But perhaps less well for the child who still has the issue, albeit masked, and is maybe learning avoidance as a good and approved strategy. Not that anybody is doing it on purpose for selfish reasons. But sometimes being a lay person and a parent is a handicap becuase we have to "feel" our way in a context where we aren't an objective participant and have little to no personal expertise to hand. Maybe at a time when we are at a low ebb and some avoidance of yet more strife doesn't look like a bad idea for ourselves either.
I am not having a pop. I don't think this is deliberate. I can entirely see why HE would come to mind as the best, the kindest and most loving solution. I'm not qualified to say if HE would be a mis-step in your specific case, let alone a huge mis-step. But given the stakes, I do think rather than falling into a very human trap of just cherry picking the supportive pro HE messages and running with it, given the rapid escalation and the florid nature of the distress displayed, it might be worth having a good old poke around yourself at the school refusal/separation anxiety information on line and seeing if anything strikes a chord. Before you make any firm decisions.
Good luck. You have been throught the mill. I hope you find a way forward for your family that makes the tomorrows a very different place from your yesterdays.