I had similar thoughts a few years ago, and prototyped such an app. It ended up reinforcing what research on the topic already says: HVPT helps, but not enough. It's semi-effective - better than nothing.
I'm now working on creating something better. In the meanwhile, getting a book with good phonetic descriptions of your target language (including lip/tongue diagrams) and recordings, and doing phonetic transcriptions is a better bet than HVPT. Being able to correctly produce the sounds goes a long way towards being able to distinguish them, though it seems to be a two-way feedback loop.