i2c pin control?

Hi,
is it possible to use I2c to control all the pins of a slave Arduino?
Is there a library for that kind of thing?

Thanks!

Ie, you want to turn an Arduino into a port expander? Why not just use an I2C port expander (like MCP23017)

Of course it's possible to make an arduino act as I2C slave and control the pins, but I haven't seen any code to do that. Then again, I haven't looked.

Well… not ‘all of the pins’. The two I2C pins, for example would not be available.