Can I play hi res audio files such as FLAC with my dollar store headphones? Yes. Will it sound just as good as $500 headphones? No.
If you're looking for the best audio quality possible don't get a "gaming" headset. Instead get a good pair of headphones and if you need them for gaming add a mic to them.