Bogey yes, you're right, a judge has the power to order it, but it ain't Mr&Mrs Taxpayer who pays the bill.
It is the impoverished, divorcing spouse...
So you've got to be certain that it's worth it. It costs thousands!
Sandy - a shit marriage is just that and it's horrible that you're in one. Rather than remain in it, do a little research - have a chat with a solicitor as to where a divorce would leave you financially. Take with you any paperwork with your name on and any 'knowledge' you have (but not the paperwork) of his earnings, assets, pensions etc (you may not have any so don't worry too much) and see what they say. A divorce is a ticket to freedom. An appointment with a solicitor does not mean you are getting divorced.
I can't say how your sons will react. When my parents split up, my brother and I were similar ages our response was "we wondered why it had taken you so long?", which stunned our parents.
And don't worry: my husband thinks he's uber intelligent and I'm a dumb blonde. My SHL is a very intelligent woman. I don't communicate with him. I remain blonde. We are having a wonderfully acrimonious divorce. It doesn't have to be that way - but at least a divorce ends. A shit marriage never does.
Take care to both of you (OP and Sandy)