I mainly agree... if you have all of the deps already on your system, it'd work, otherwise it won't.
in my (probably silly) case, i wanted to install and automatically update every reboot the xmrig-donateless package on a Ubuntu Linux machine. Ubuntu doesn't have a decent way to install the package and keep it updated as far as I'm aware.
I made a simple script that fetches the latest package file, sources it and performs the install steps. it works for what i need.