It obviously wouldn't work for carrying something like TCP/IP but rather much lower level signaling.
http://en.m.wikipedia.org/wiki/Opto-isolator