Definitely. A new MacBook pro with 16GB RAM, a decently speedy 512 GB SSD, the basic display, dedicated graphics, and an 2.3 GHz 8 core i9 costs $2.8K [0].
An XPS 15 with 32GB RAM, a decently speedy 1TB SSD, the basic display, dedicated graphics, and a 5.0 GHz 8 core i9 costs like $2.3K [1].
I couldn't customize the XPS enough to do a direct comparison. But the XPS 15 with the almost the same specs as the MacBook other than having an i7 was about 1.6K.