Yes, this will work. There are lots of 3.5mm to 2xRCA cables available out there. The quality of the cable that you use can have an effect on the quality of the audio output. Buy a good quality cable that well insulates each wire.
Another option is to purchase a USB adapter that you can plug into the back of the NUC that gives you either a 3.5mm output or even 2 RCA outputs directly (as well as microphone and/or line in inputs if you need them). This option avoids having a cable hanging off the front of the NUC. Again, you get what you pay for. Quality costs more...
Hope this helps!
Thanks! Perfect. I may look for a USB adapter - I didn't like the idea of a cable hanging off the front, and didn't know about this option.
For better quality solutions, look for USB devices that support audio (and/or video) capture and playback. I found lots of them in a basic Amazon search (careful though, many of them are input-only).
If audio quality is really not that important, an example of a really, really cheap solution is the Syba SD-CM-UAUD USB Stereo Audio Adapter (US$6). I purchased a couple of these and they worked just fine for my application, which was to connect analog headphones (with mic) to a laptop whose internal audio solution was horrible (think about this statement; it tells you a lot about how horrible horrible can be! ).
If you end up needing to use the front audio jack, you can find 90 degree angle ones on ebay easily enough. It's not a perfect solution, but it does look nicer than a cable sticking straight out.
I mean this: www.ebay.com/itm/2pcs-3-5mm-Stereo-Audio-Right-Angle-90-degree-Adapter-FHRG-/361327712932?hash=item5420cf5aa4
Not sure why, but I'm not able to edit my previous comment.