Several years ago, I bought a commercial 50 x 100' cinder block building that had an air compressor mounted about 10' high on one wall. They used large angle, looked pretty sturdy, plus had long all thread through the wall with 10" x 10" x 1/4 plates to spread the weight on the block. We kept it hooked up, but only used it for backup when/if my 10hp Champion was down for repair/service.
Pain in the *** to change the oil. Personally, I wouldn't put one in the air.
P.S. When I bought the building, the seller wanted me to buy the air compressor for $500.00. I told him I'd prefer he take it with him. No sale on the compressor, and he for sure didn't want to go through the grief of getting it safely to the ground.