unless you can successfully fight them not to double count your open jaws as stopovers, its illegal cuz you have 3stopovers (ok), 2 open-jaws(which some agent also sees this as 2 stopovers on top, ie, 5), and 3 transits (not ok unless OJ doesnt double count as SO and 1 of these transits can be seen as SO).
PS: I've never tried, but that's the theory.