Recent Linux kernels support putting boot options
(e.g. "init=/bin/sh" or "i915.alpha_support=1")
inside the initrd file.
https://www.kernel.org/doc/html/latest/admin-guide/bootconfig.html#boot-kernel-with-a-boot-config
For me, this would often be easier than patching the bootloader(s) config.
Can someone (i.e. not me) do the initial thinking about this?
Like "how hard is this to do?" and
"what would the config structure in /etc look like?" and
"do /proc/cmdline scripts need to also check /proc/bootconfig now?"