We study the anomalous Josephson effect, as well as the dependence on the direction of the critical Josephson current, in an S/N/S junction, where the normal part is realized by alternating spin-orbit coupled and ferromagnetic layers. We show that to observe these effects it is sufficient to break spin rotation and time reversal symmetry in spatially separated regions of the junction. Moreover, we discuss how to further improve these effects by engineering multilayers structures with more that one couple of alternating layers.