We do have a script to help build a deb for Pi install - linux-installers/pibuild at master · node-red/linux-installers · GitHub but it just uses a raw install using the debian node version etc. (which is often well behind with patches etc) but I guess you could modify it to help you build a deb of a preconfigured Node-RED install if you wished.