Those fittings are designed to allow for a "watertight" seal between the two ends, they are not designed to maintain alignment between the pipes, in fact, they are designed to allow for slight misalignment and still maintain the seal. I doubt that you would get a sufficiently rigid connection using a universal joint. I'd suggest you join two water pipes with a Universal joint and then see how rigid the connection really is.