Hi Plouf,
Thanks for posting your circuit.
1) Of course it has pulses. The output of the rectifier bridge has half-wave pulses of 309VDC peak at 100Hz. Since the pulses aren't filtered, the average voltage at full brightness will be 218V.
2) The transistor in the optocoupler and the gate of the Mosfet will receive 309V pulses too, way beyond their maximum voltage ratings.
3) The transistor in the optocoupler will turn-on the Mosfet, but your circuit doesn't have anything to turn it off.
4) If the input to the optocoupler is a DC current, then the Mosfet will heat almost as much as the light bulb, a lot!
That's why I recommend using an ordinary AC light dimmer circuit using a triac. The triac switches fully on and off so it doesn't heat much even with its maximum load of about 600W, at double the mains frequency so it doesn't flicker. Usually an ordinary AC light dimmer is controlled by a pot, but if you can find a light-dependent-resistor that can withstand 220VAC (maybe not) then you can assemble your own optocoupler.
If having an optocoupler is important to your project, an opto-coupled triac driver is available, but its input must be PWM pulses that are syncronized to the mains frequency. A very complicated circuit.