Is it possible to run air conditioner by inverter/UPS?

Yes, but you should choose inverter/UPS as big as enough, usually the rated power of inverter/UPS is 3-5 times as air conditioner’s.