I've used this in the past for power cycling USB-powered embedded boards in a test farm, but the dependency on specific hubs is a pain. In the end it was easier to dedicate an RPi per board. The generation of RPi I was using could switch the overall USB power and that was good enough [1].