Impossible to know how it works but it's possible it moves the mouth according to the amplitude of the audio output. That might be wired directly to the audio output or it might use a microphone. Either way it might be doable.
If you want to wire something into the visemes then it will no longer qualify as a "cool little side project" anymore.