can i connect my apple tv to my tv using a hdmi cable plus a opticial cable to my audio system to improve sound quality.
Welcome to the Apple community.
Yes indeed, that is what those connections are for and are regularly used that way. The Apple TV outputs audio over both connections simultaneously.
Retrieving data ...