Yeah, but unless you are content with playing on cloud, building a PC that will consistently outperform a Series X is likely to cost you notably more than a Series X due to all the optimization done to get games running on console. I have a PC that on paper that should dramatically outperform the Series X/PS5, and with certain games that isn't exactly the case. Like in theory the Series X is essentially a a 3600 cpu, and a RX 6600 graphics card, but generally on games optimized it will punch above it's specs.
Cloud works for some games, but I don't think a first person shooting game designed to run 30fps on consoles is gonna run particularly great on cloud.