I am new here, please be patient if there already is a topic like this

I was at my local Hifi store to find an amp for my TV speakers, the seller showed me a Bluesound Powernode amp which was perfect but pricey, i then thought maybe there is a chance to make one my self.
I have all the electronics figured out, but not the software part. I was wondering if it is possible, to use Rune audio, where the audio input is from an optical cable and use a IR remote to control the volume and power?
Thanks
Amir