With Odin software, yes.. it's possible.Download Odin on your pc and also the official stock firmware for S23 Ultra, then flash the software on your phone using Odin.
If reinstalling samsung usb drivers also didn't work, then i think the problem is with your phone's usb port.Another faster way to transfer files is to use a PC link, which works wireless, but both devices will require an internet connection.Another ...