Isn't that how Steam streaming is supposed to work out of the box?
It's worth pointing out that some titles don't really support home streaming well. For example, some don't capture using game controllers as input well. Others don't pass through sound properly. It's not a perfect solution by any measure.