

From what I’ve read, no. Though it doesn’t solve the fundamental problem of a root process handling untrusted input from a regular user.
The TTY method is IMO better as it ties privileges to a piece of physical hardware, bypassing the complexities of userspace elevation of privileges.
All I do is have
agetty --autologin root tty2 linux
run as a service. It launches on startup, and I just hit CTRL + ALT + F2 if I ever need a root shell.All its doing is just auto logging-in as root on TTY2.