Those with multiple ports have a hub in between and are not capable of gadget mode.
The pi 4 is an exception, it is capable of gadget mode on its USB-C power input, not via the normal ports as there is a hub in between there too.