Yes, you can lengthen the wires that way. Make sure you use some heat shrink tubing or something else to insulate them WELL and INDIVIDUALLY.