Remote_rpi_gpio with MCP23017

Hi
I want to use remote_rpi_gpio and MCP23017
but wounder if i possible and how the code should look like?

I dont have the MCP23017 now
but schuld the code look something like this?
`´´´´´
´switch:

  • platform: remote_rpi_gpio
    host: 192.168.1.60
  • platform: mcp23017
    i2c_address: 0x20
    pins:
    0: switch Office
    1: Switch Bedroom
    ´´´´´´´´

or maybe not possible?