Yes, there are gamified learning apps like this. Some of the more well-known ones are Simply Piano, Yousician, Skoove and Synthesia and various clones but just searching "piano" on iOS app store gave me longer list than I cared to scroll through.
The nice thing is that you have to learn to play without looking at your hands because your eyes are fixed at the screen. The less nice part is that especially with Synthesia style it is difficult to play without the app.