It's probably going to also depend on what it's encoded as in the MKV container. I would imagine if it's PCM audio it may would work to convert to FLAC (though I could be wrong) but things like Atmos, AC3, TrueHD, DTS, etc. may have issues and would need a lossy conversion to PCM.