It’s possible as in you have a Turing-complete set of tools. You would basically have to recreate something like Nix for it to properly work, and would only end up with a much worse version of it, without the huge amount of work that goes into it (both the core, but especially the “wide ranging software support” part).
a set of tools that wont fade away, its much harder to believe that
about nixlang than its for bash/dash/sh
i dont have to recreate nix to get easy customized installs, my
installer script doesnt need to know or do anything about derivations,
monads, flakes, etc. it just uses packages from my distro and pulls in
my .config directory. what else does nix do that my script should do?
the software my script installs is probably more supported than it
would be on nix because its on ubuntu, one of the more commonly
supported distros.