Usb 3.0 port with usb 2.0 cable?

I currently have 2 Nanos and 2 ESP32s plugged into a USB2 powered hub all working fine but I would not trust an unpowered one