Until You Fix the Airflow Problem, Replacing Your AC Unit Solves Nothing
https://wakelet.com/wake/s9UltmlF-t5eJTYiAEQ06
Yes, you can replace just the AC compressor, but doing so without addressing the underlying airflow problems that stressed it to failure exposes your system to rapid component breakdown, escalated repair costs, and eventual total system failure