Several years ago NXP released a shared library / DLL for USB based LPC boards and devices that had the ability to provide USB to SPI, I2C or GPIO bridging. While some support existed via the community, support was limited and this useful capability was rather hidden (it was called LPCUSBSIO).
NXP has now released a new library, replacing LPCUSBSIO, to enable communication via USB bridges available on evaluation boards with LPC-Link2 (LPC4322) and upcoming MCU-Link probes (Pro and some future EVKs with MCU-Link on-board that have the bridging feature included.) User documentation and a Python wrapper are also available. You can find all the links you need at the landing page for the library: https://nxp.com/libusbsio