Yeah, you bet. For a gaming PC, the GPU is the most important piece. You mentioned running games at medium, and I missed your price range at the end.
If you like that Hajaan for $1,149 above, you might look at this one too:
https://www.newegg.com/hajaan-breeze...9SIAZ8YHJW9876
Double the SSD size, and a better GPU. You could likely run those games at high setting with either machine.