Maybe? But I’m also ok investing the $10-20 per month in a service that can guarantee 4k @ 60fps on any hardware I’m using.
At 20 hours a month you would have to play for 50 months (4 years) on your machine before you pay off the machine. Alternatively, you could spend that same money on the streaming service. I think the math doesn't hold up if you are a casual gamer. Building a PC and maintenance just isn't worth it.
That being said, if you play a lot more, maybe even 15-20 hours a week, I think it makes a lot of sense to build your own machine (I have one and it was very worth it when I was a serious LoL player).