to boarding school at the age of 7.
AHA!
Yes, look up "boarding school syndrome" and go get counselling for yourself.
I'm probably projecting a bit so take that as you will ...but it sounds like your own inner, emotional and social life is what you'd like to grow and feed and water, the marriage issues are kind of a knock on effect.
Read up on stuff about how brain development in children works, especially with regards to attachment.
Don't end up like my Dad, who was materially ok, but deprived of love as a kid. I'm not sure he ever really loved anyone but his dogs. He went from nanny to boarding school to uni to one wife then another, and I'm not sure what he really wanted out of life or if he ever even knew himself :(.
Late 30s is young young young!, & you have more than half your life to go.
Question: How much of who you are now is really you and how much is an adaptation to circumstances where it was a bad idea to show tenderness, affection, vulnerability or strong feelings and the safe thing was to keep the rules and make yourself useful?
And ... what was your wife's childhood like?
Regardless of whether the marriage lasts or not, she's a fellow human being who deserves respect and consideration as much as any of us, and you've known each other for a long time. Might be worth going out for a walk together every day - and talk.
A friend of a friend once said their marriage counsellor made them talk about their early lives and for the first time they really understood each other. Said the marriage wouldn't have survived without that.
Good luck. It's not too late. I changed a lot from 30 to 50, change is possible, you can be happier.