Can I use 1 optocoupler to drive 4 MOSFETs?
this circuit needs the mosfets to switch once every 5 minutes (not pwm, that's why I didn't put a driver), does 12V reach all gates? – Ricardo Casimiro 4 mins ago

Yes all the current is drawn by the 10k resistor to 11.7V with Vce(sat) on the opto. or &gt; 1mA
This works well with 4mA input or more.
If using 3.3V input (3.3V-1.2)/(220+25 cmos) = 8.5mA
If using 5V 220 Ohms is overkill but OK.