I believe that will get what you want. At these elbow socket nodes you will intensify the same local forces and moments with the elbow SIFs on one side and the socket SIFs on the other. The only trouble I can see is if, for some reason, you would have a support at the socket - which I assume is poor design design. In this case, the analysis will result in different internal loads on the straight pipe side and the elbow side.
And then you might consider the socket welds as stiffeners for the elbow. So you can make it more complicated if you have the time.
My guess is that sooner or later, you will find that the component SIF will trump the socket SIF. (Please let us know if that is the case.)
The Code provides no guidance on combining the effects of two distinct SIFs.
_________________________
Dave Diehl