yes just use the IRremote (or IRLib) library.
You will need an IR receiver & IR LED (emitter) for testing.
Once you work through the examples in the library, you will understand the requirements a lot better.
So do some background (re)searching on the above.
Depending on your setup, you may actually want the Arduino to be sending the signal to the Aircon unit to control it.