Yes it totally can. I started with a plain bash script myself :) But as complexity grew it just became harder and harder to make it work consistently under different conditions. Nix solved it beautifully.