I'm sure its possible but it won't be an easy straight swap - plugs are different for a start
I looked a scrap X2/50 to see if the rear light lenses were worth saving for my X2/90, but decided it was more trouble than it was worth.
(Because my X2/90 rear lenses are cracked where someone reversed into overhanging foliage - but I covered the cracks with clear weatherproof tape which is almost invisible and has lasted 3 years so far. It sticks very strongly to plastic. )