As long as the two outputs are floating, that is, no connection to ground, then I would think that this should be OK. I wouldn't want to do this with high-voltage supplies as it's going to stress insulation but we aren't in that kind of territory at 24/48V.