Do you have a data sheet for the opto relay? I can not find one.

I would say yes, the PIC can do this but the 12 volt zener looks like trouble.