I'd have to say okay in principle, reality is another matter.
If my hubby cheats then i'm more likely to cheat, and vice versa. I joined up weight watchers and so did he to support me, but in 3 weeks he gained half a pound!
Unless both are really focussed and at the same stage in their head then it'll fail, imo.