Doubt it cause ps4 is superior to x1 in hardware, not software so even with dx12 it shouldn't have the same performance as an x1
The only way they can be the same performance is either the said game isn't very demanding or they is some backdoor exchanges going on or the developer didn't optimize the ps4 version enough to use its capabilities or there is a downgrade in graphics (such as lighting) for higher resolution and/or framerate
PC Specs: CPU: 7800X3D || GPU: Strix 4090 || RAM: 32GB DDR5 6000 || Main SSD: WD 2TB SN850