Well, it has been shown that having more frames than your monitor can output may help with input lag, but that's a topic for some other day.
But yeah, gaming is just one scenario. Unless it's purely gaming PC, I don't see a reason to step up from 2700 to 5600x, not in this scenario at least.