IR Led on an MCP23017 pin for climate control?

Hi, I’m wondering if I could use an OUTPUT channel/pin of a MCP23017 as a IR sender for controlling my Fujitsu Airco ?
I see the “IR Remote Climate” component in ESPhome, but I wonder if this can be combined with a MCP23017 ?

instead of “pin: GPIO32” I would use something like :

pin:
mcp23xxx: mcp23017_hub
number: 3
mode:
input: false

or how would the syntax be ?

can anyone confirm if it would work and/or help me with the correct syntax ?