Yup. Optical is just a digital signal; I record 36 channels down a similar cable from time to time, so 6 shouldn't be a problem. Easy enough to check anyway, just run a 3D audio demo from your computer.
The DACs in your samsung system will probably be better than the ones in your sound card as well, so the quality will increase (although it's unlikely you'll ever notice!)