If you have USB debugging on then yes. If not try to see if you can mirror display with USB and a TV/monitor. If that doesn't work a USB mouse will have to do if you know that layout of your phone. A keyboard could also work for the pin. I always suggest leaving USB debugging enabled and paired to your computer so in such cases you could just do
adb pull /storage/emulated/0(or another number if you have different users or work profile /path/to/desired/location
This way you'll pull all the data from everywhere and delete what you don't need. With USB debugging enabled you could also use SCRCPY, it's a neat tool that'll mirror your screen and you can control the phone with computer mouse and keyboard. If you do want to try and enable it'll be in Developer options/settings, if you have them enabled if you don't you gotta press on Build Number in your about phone section in settings.