If separating it looks doable, and you use the correct solid core wire, yes you could put it anywhere you want, but if its more than screwed to the socket, just leave it and mount the whole assembly however you want.