bulb 6v PWM?

any suggestion how i control this bulb. it's rated 6v 50mA.

Just like any other load, in this case I would use an external transistor or darlington.

I am not sure if the PWM will work but you can try.
You would need to use a transistor with a resistor.
like so:

Just instead of the relay put the bulb.

I am not sure if the PWM will work but you can try.

Yes it will, it will allow you to dim the bulb.