It can be done with adb:
You can if you use adb shell:
Developer Options > USB debugging turned on CMD prompt > adb devices Allow connection from the PC prompt on phone
Then add shell pm uninstall --user 0 com.sec.android.gallery3d
This will remove Gallery, BUT… The stock camera will not allow you to view the pic after you take it (it will show up in Google Photos still)
To restore the above removed app:
cmd package install-existing com.sec.android.gallery3d
I self-host my own rustdesk server and it’s awesome. It just works flawlessly.