Possible? Is that your question? Then Definitely YES! What DAC are you looking at?
BTW - most MACs come with a capable enough internal DAC, so you might not need it at all. I did use my DAC with an ancient mac mini for a short while till the mini died, however, I frankly do not think it did much, it did some but not much.