M2070W Samsung 3-in-1 printer driver

Hello! I have used endless since a while (From version 3.2) and I have bought myself a new Samsung 3-in-1 printer. The issue is that Endless is an immutable distro and the printer driver is a script that needs to be run in the terminal. Is there a way to install the printer driver without taking ownership of the file system? On my Fedora Silverblue machine the script worked fine but in endless doesn’t.