Or, you can install and reinstall linux distros and learn the ropes.
You should be fine as long as you use a proper firewall device and access only manually withelisted websites, but it is always better to keep it offline. That said, it can become your next firewall device.
>scrcpy
I also have a pixel 5a whose screen doesn't work, but I think functions otherwise. Would this allow me to interface with it?