Peer comment explained why this is almost certainly a bad choice - not to mention you'd need some pretty specialized optocouplers to even operate at that high a frequency - so I suggest getting a receptacle with integrated magnetics. Ideally on a nice little breakout board like this SparkFun MagJack breakout board. [1]
Plus this way you can hook up a couple extra GPIOs and make the lights blink when the magic is happening.
Plus this way you can hook up a couple extra GPIOs and make the lights blink when the magic is happening.
[1] https://www.sparkfun.com/products/13021