There are UL-Listed air compressors that must be hard wired. However, I do not believe that the code requires them. As stated, probably to not good practice. However, I don't blieve it is prohibited. I will have to check with some Elec Engineers to see if there is a NEC requirement.
UL Fire...