Apps similar to Dinit include systemd, which is free and open source. Other options are OpenRC, sysvinit, runit and s6. You can choose from more than 10 Virtualization Tools like Dinit for Linux, Mac and self-hosting.
Using the tooling in this repo, I am able to boot from linux to sinit as PID1, and from there to Emacs acting as PID2 using --script mode, performing all typical rc.boot system initialization using Emacs lisp until we hit the getty.