The practicals of doing this will vary of course. There are many factors to keep in mind and a lot of them are personal/subjective.
You might decide to live with this but again, if you started thinking about it to the point where you consider breakup then it's likely a serious enough issue and it doesn't get better.
This shouldn't stop you from trying to the point where by all definitions the relationship is dead. There's no rule for this other than a rule of thumb. But that one pretty much suggests at that point you are just delaying the inevitable. Unless all you actually need to fix it is time.
It might not always be simple or easy but if you're in a bad and unfulfilling relationship then it's up to you to swallow hard and move on. Staying is lost opportunity.
A divorce has both higher emotional cost - especially if you have kids and are close to your in laws - and financial costs. If my job causes undo stress and hardship, I will leave at a moments notice. If my marriage is causing me stress and my spouse is willing to put in the effort to help us come to a better place, I’ll do what it takes to make things better. I’ll go to marriage counseling, but there is only so much you can do in an organization.
In hindsight, I shouldn’t have taken the job in the first place, but I had just been laid off.
I knew they weren’t going to make me full time and as a contractor who was already being watched closely I couldn’t have multiple “doctors appointments”, take advantage of flex time, etc. I needed to focus on getting a job full time.
It was 2012, the economy was looking up and I figured I could get s job relatively quickly through my network of recruiters. I walked out noon on Monday and called a recruiter. I had a phone interview with a division of what was then a Fortune 10 company on Wednesday, in person Thursday morning and an offer Thursday evening making $10K more than the job I was laid off from three months earlier.
Yes that was partially dumb luck and not something I would try again.