Can you rebuild a compressor for home AC unit?

No the compressors in residential condensing units are called hermetic compressors and have to be rebuilt by cutting open the compressor shell, then rebuild the compressor and then weld the shell shut.

Buy a new compressor or condensing unit.