Yes, an A.C. compressor can be repaired without any problem. However, it depends on the extent of damage that the unit has faced.
If the damage is severe, then it is suggestible to either replace the compressor or the entire condensation unit of the device as repairs won't work.