if you are not a competent welder, welding cast steel is not a good idea. Its tricky enough to weld as it is, without it being your first "go". Welding while the part is on the bike is "possible" but not always recommended. I would say it depends on which process you use: stick, TIG or MIG. Stick and MIG create a shower of sparks, TIG does not. But, you should always disconnect the battery and Reg/Rec if you do weld on a bike (you're passing heaps of current thru the frame when you weld).
Lots of folks have extra lower triples, I may in fact. They're abundant.