It depends where the cable wire is deteriorating. If it's outside the speaker, then yes. Insulated cable can be purchased through parts express, then you can use a shrink wrap to create make the connection seal tight.
If it's inside the speaker, I am sure you can also replace it, but not as easily. You would have to open the speaker and solder it in.