Well ... the only way to do this would be to play back an audio file recording of the singer at the same time as playing back a MIDI file with the music accompaniment. Then you could display the MIDI file score.
This is technically possible - in fact technically straightforward, it's just triggering the two playbacks at once. The (very) difficult bit is finding suitable audio recordings and MIDI files that are exactly in synch, unless you have made them yourself ...