My personal opinion.
After going through both paths (red and green), I conclude:
On the red path, after completing the mission, Alan will have a bad end (if he stays with Clara, I hope there is no need to explain). On the green path, after completing the mission, Alan will also have a bad end (if he stays with Clara, no normal man will not tolerate "moral humiliation/ castration").
When going through both paths, the only good choice for Alan is to divorce Clara and marry Anna. Clara can get together with Leon (2 cheaters) or become a corporate prostitute (climb the corporate ladder), at least strangle herself.
In fact, with the green path, a good choice for Alan came already in the evening of the 7th day after the humiliation arranged by Clara. If Alan has at least a little pride, he will leave a letter of resignation in the HR department of the company this evening, make a message to Paula "Alan --> Paula. In order to ensure the safety of the mission, I decided to leave the facility, details upon arrival. Alan."
That's it, a good end to the game for Alan. Anna, upon learning of Alan's departure, also resigns, thereby freeing her hands for Mr. X and Leon to further corrupt Clara.