From what I'm seeing online, it can work, but not directly. It seems you might need an adaptor and some third party software (Trinus VR seems to be the most recommended). Of course, I can't guarantee or endorse these methods, since I don't have a PSVR, but here are a couple of websites that explain the process they used:
https://www.techadvisor.com/article/732131/how-to-use-playstation-vr-on-pc.html
https://www.lifewire.com/how-to-connect-psvr-to-a-pc-5197483