Can you please, list the devices names and sensors names you have connected with your ESP32 in order to allow me to see if some of the pins could be shared by more than one device/sensor?
ILI9341 with XPT2046 Touch Controller controller over SPI (Touch controller does not use interupt pin)
TEF6686 (over I2C)
3 regular buttons
1 rotary encoder with build in button: https://www.aliexpress.com/item/1005006046981815.html
GPIO 27 is sadly already taken by signal meter
wanted to also connect I2S pins (need 4pins for that) from TEF6686 direcly to ESP32 (so ESP32 could analyze the audio) but I am sadly running out of usable pins
Your devices have consumed only 17 IO lines. Your 38-pin ESP32 has 31 GPIO lines. I don't understand why you are strugging to use GPIO-0 which is a boot pin?
Not all of those pins are usable though, but yeah, there should be plenty. Actually between the 30-pin and the 38-pin, GPIO 0 is the only freely usable pin that is exposed on the 38-pin but isn't on the 30-pin. Pretty sure that it does actually have a 10K external pullup on it, although there are multiple 38-pin variants of the board around.