Depends. If possible take a photo of example and
send it to Mayhem to post in your section so both we all understand the scope of your problem, and more important, others will have something to watch out for.
First question or thing for you to look into is if the lamp
base is also bad. Does that lamp
base have sufficient tension to it to
plug a lamp into it and
pick up the lamp by way of lamp
base only? Can you pick that lamp up by way of the lamp
base, even wiggle it a
bit without the lamp falling?
Next, do the wires coming off the lamp
base go to some form of splice or do they as wires extend to the
plug?
You mention the
plug is also melted down, this is something to be curious of, explain or photo also.
After these, yes it’s possible and fairly easy to replace the wiring on a
PAR fixture. Before this however we have to know what form of
system you are using. Also photo or describe - including what writing is on the
strain relief in both brand and part number.
Finally, while doing some quick checks on the can, check that
ground wire. A
ground wire that easily rotates in it’s attachment to the can is a very bad for conductivity
ground and will also need to be replaced. If in good condition and it does not easily move on the other
hand, this will be one less thing to work on.