I don't know if this will help or not. But what I understand about OCD is, there's a huge aversion to uncertainty. And a lot of anxiety happens when you're not sure where the line between "a safe amount" and "too much" is.
What will happen if your boyfriend works nonstop and never rests? That's uncertain. So you arrive at the certainty: he will die of a heart attack. It feels terrible to believe this, but holding the uncertainty of "I just don't know" feels even *worse* to your OCD.
What is the line between a safe amount of work and too much? There's not a hard and fast rule to that. You just go as long as you can go, and things slowly get shittier, and severe health problems are unlikely, but never impossible. Very little of this is under your control, though, so all you can do is be there for him in the ways you *can* control. Like having dinner ready when he gets home or listening to him kindly when he vents.
This is the answer, but OCD hates it. The OCD wants the answer to be absolute, so it's chosen, "Nothing is in my control, the line has been crossed to the most extreme side of too much work, he will definitely die." Because, again, there's no uncertainty in that, there's no fuzzy shifting grey area, there's no guessing which side of the line is the threat. The decision is securely firm: The worst possible thing.
Here's what makes it so compelling. Our ancestors lived in the wildnerness. Most of the time, they were safe. They could guard each other and see around them. It was very clear that a tree is not a threat and a lion is. They only had to get vigilant and scared if a lion was ACTUALLY nearby. The rest of the time, in the absence of threats, they relaxed.
But "so much work that it hurts you" is not a clear, easy-to-see threat the way a lion is. And it never turns off. So your OCD never lets you say, "the threat is gone, so I can let my guard down." It concludes that this MUST be a threat and forces you to be on guard until he inevitably has a heart attack, like you're watching a lion charge towards him in slow motion.
By the way, it's possible he's experiencing the same thing: He feels like he's not doing the right amount of work to be safe (or he feels unsafe in some other way, and it's getting translated into work anxiety). So even when he's not literally at work, his guard stays up and he doesn't rest. There's a sense of a vague invisible threat, and until the uncertainty is resolved, it's not safe to sleep.
Your OCD is trying to protect you.
It's hard for me to tell you what to do about this. I struggle with this too.
The solution is to accept the uncertainty. To allow yourself to relax even when you're not sure if you're doing things right enough to be safe or not.
But that's easier said than done.
Simply interrupting the anxious thoughts is a concrete and nonthreatening step. For example, any time I notice myself having intrusive thoughts, I check my email. I'm allowed to go back to my OCD thoughts after I check my email, but the act of checking it builds my ability to *choose* what I'm thinking about, instead of being helplessly swept along. It helps me *notice* my thoughts, even if I still can't fully control them.
Another thing you can do is build your sense of security in an area of your life you have better control over. A friendship, an art project, the decor of your home, etc. If you feel safer in one area of your life, you'll feel a little safer in all of them.
And a solid tip for any relationship: make time once a week to check in with each other and talk to each other about what's going on. Try to meet each other in love and maturity.
These three things don't seem like much, but put your heart into trying it for a few weeks. The ripple affect is really surprising.
Life is scary and confusing, and that's okay. It's safe to relax in an empty room. People like us have a hard time accepting that, but it's true. Good luck.