How are you getting GPIO?
Adafruit FT232H Breakout - General Purpose USB to GPIO, SPI, I2C https://www.adafruit.com/product/2264
(or even more cheaply a CH347T board which are dirt cheap on Aliexpress)
Both have decent Python support.
If you REALLY need GPIO then just add a USB-C OTG MCU board like a ESP32, or even the ancient Arduino Uno works as USB GPIO via serial TTY on Android.
Or just use a ESP32 by itself, if you don't need a full Linux OS, just to toggle some GPIO pins via the internet.
Possibilities are endless. Just use your imagination, or ask some LLM.