Is it possible to pre-assemble and pre-solder copper pipes into a subassembly that then can be installed using a threaded fitting? I'd much rather solder the joints either in an oven environment or on a workbench than sweat them right up against my water heater. This is for a downpipe drain on a water heater T&P valve -- our heater currently lacks the downpipe, with the T&P just "spitting" sideways. The valve in question has internal threads on its downstream (open to air) end, by the way.
Also -- copper is the material I want to use here -- last I heard, PEX isn't code-compliant where I live, and I would not want to use it anyway due to the prospect of material damage if the T&P ever had to function in anger.