Hi,
you have to read the datasheet.
check the folowing:
* do you have enough drive strength for the optocoupler?
* do you have enough output drive?
* is the delay time (rising and falling) OK for your application?
* is symmetry of rise and fall time important for your application?
* are the isolation parameters (input to output) OK for your application?
***
To the last point:
It seems your input and output of the optocoupler uses the same supply. If this is true, then there is no need for an optocoupler at all.
***
To your circuit:
Be sure to use ceramic capacitors next to the supply pins of each IC. Use a proper ground plane.
The diodes D3, D4, D5, D6 and the relating resistors are useless, because the parallel resistor has much lower impedance than the R-D combination.
C3 and C4 need to be fast ceramic capacitors with short and wide traces.
Depending on switching frequency, FET parameters and load, you may consider external schottky diodes in parallel to your MOSFETS.
Klaus