If the laptop has optical then yes, you can do that, but as mentioned, you have the 360, PS4 and the laptop and potentially other devices and only two optical inputs. Unless you intend to add an optical switcher or swap them by hand frequently, my recommendation was to use the 3.5mm ones with just a cable.
Not familiar with Jriver so can't help on that one.