Yeah... that would be a starting point...
You will of course need to experiment with it...

If you are just driving TTL level circuits you would not need a Triac
output Opto Isolator a Transistor Outpot OI would be better like a
4N26 or similar...


Jerry