I've seen it done. It should hold fine. Personally, I'd braze or solder it, but if I had a TIG I'd use it. As long as there are no leaks, a welded adapter is fine.
Edit: George posted before me. I like his idea better. No welding. As a note, there are hydraulic compression fittings that can be crimped to a hose. They work fine in low pressure applications. I've used them. Not my preferred method.... but works.
(Off Topic)I do hate it when people use them on brake lines. Too much pressure... too risky. But, as long as they are tight, I've not seen one come off.