Technically, you can try, but I doubt it’ll work ootb even if the connectors are the same. It would be kinda easier to use smth like an arduino/rp2040 board and connect it to one if thr unpopulated USBs on the board (check if there’s a schematic available, they often leave stuff like ribbon cable connectors for, day, a smort card reader, which is basically USB but 3v3 power)