What's the gain compared to a script that disables the same stuff via adb pm uninstall?
for me that way is not so clean and drastic as i like, for example apps are not really removed, they are still there but just disabled for the current user, at least here it worked this way when i tried... when you factory reset or create a new user all apps are back.
and you have to connect phone to pc, etc etc
i prefer my way done all from phone, via twrp, very easy fast and clean

and i can factory reset the phone as many times as i want and apps don't come back..