This has come up before. IIRC source/drain pinout swap SOT-23 MOSFETs are vanishingly rare, and *IF* you find one, you still have the problem of the gate pulldowns, which obviously should be pullups. Also you'd need a 5V logic high level but the ESP32 PWM is only 3.3v.
A better solution would be to create a little interface board to provide approx 10V gate drive, which will let those high side N-MOSFETs work just fine.