This is very much what OnLive where doing a few years back - I had a subscription for a while but never used it as much to justify it. They would have some problems from time to time but for a casual gamer like myself that only had an ancient and linux-only laptop it worked surprisingly well.
They're since defunct, Sony picked up their assets end of April this year (https://en.wikipedia.org/wiki/OnLive).