hi Team, hope you are doing good,
i have experience in building a Raspbian OS,
We took the base Raspbian changed the bootloader, changed all logos and everything, the os has the ability to self install, on corruption of os, you just need to press a button and the os will be reinstalled, all the packages and application was added prior to os build.
If you are looking for any such operation then please let me know.