That's definitely an interesting idea that I don't remember seeing suggested before.
It can be done, only possible issue is that it'd then depend on the input plug-ins being used to correctly report if it's a lossless or lossy file (as a hard-coded list with any possible solution isn't the best of ideas imho).
Definitely a cool idea and something I'll put some thought into
-dro