Leonardo on a slef-powered hub


I'd like to use a Leonardo on a self-powered hub i.e. with 5 V and 100 mA. It will be connected as a slave with a I2C connection but there are nothing else connected to the board.

May it work? May it fail?

Thx for help!