First use multimeter to verify there’s no voltage (pull-up) across PWM+ and PWM- wires.
If not, you can try with direct PWM from esp. While 3.3V is below 4V, it’s worth to try.
Otherwise use optocoupler or transistor and 5V pull-up.
If it helps anybody, I ended using a 3.3V-5V Channels Logic Level Converter Bi-Directional Shifter Module to increase the PWM signal to 5v.
Thank you for your help!
For future reference, it makes many things a possibility if you have some moafets on hand. There are so many possibilities they can be used for such as sending 3v-24v pmw for controlling the speed of DC motors/fans, adjust the brightness of one or dozens of led’s, use one to make a digital switch for voltages greater than what a gpio can use alone, and many more things including the exact thing you needed here, one of these single chabnel modules would have worked perfectly.
They’re probably one of my most commonly used components/modules and they control motors, fans, lights, relays, etc around my house. They also come as single modules or 4 channel modules.