I wonder if you can connect a PS4 to a laptop instead of a screen and then you can play without any problems.
No, since laptops have no hdmi input but only one hdmi output
This does not work directly, with an Hdmi cable it does not work, since the laptop has only one Hdmi output and no input, but you can download the program "Ps4 Remote Play" on the laptop, so that you can then use your Ps4 screen Stream to the laptop, then all that is required is a good internet connection, connecting a LAN cable to the laptop and Playstation is recommended