There is something similar to your idea, a game called life simulator? Basically you start off school, go to gym, work, eat food, rest, then you unlock uni, library, more study etc. When your stamina goes down, you lose the game.
You can make the game using js + html5, that would be the simplest thing to do, and ofc learning js beforehand.