I would say yes.
If you’re going to be doing intensive 3D games, then either a windows machine with an Nvidia graphics card, or sticking with the Macbook and getting an eGPU (I know Mac supports eGPU but I honestly can’t tell you how well they interact with Unreal).
Im using a 2015 MacBook and it works well enough, though my compilation time can be pretty poor in Xcode.
Good Luck!