[General Questions and Answers] simplepinoi177:
I don't understand; you don't seem to make sense -- maybe it's a lost in translation sort of thing....

You can't stop yourself from doing a factory reset? The tapping through settings, and entering your lockscreen pin and/or account information isn't enough steps to stop yourself? You can't control yourself to this degree? I mean this semi-seriously because I don't know how else to approach saying an example of it; but do you have multiple split-personalities or something? Where you need to stop your "other self" from factory resetting and returning "all unnecessary and distracting apps"? Are you helping someone else (an elderly person with dementia) that keeps doing this? Are you really just trying to stop someone else in your household or personal space from messing/pranking you and factory resetting your phone?

Is this maybe an addiction thing? I mean, I have heard of gaming, porn, and social media (screen) addictions....where one can't help & control themselves type of thing....are you afraid you will "drop off the wagon" and regress and factory reset your device just to get back "all unnecessary and distracting apps"? I acknowledge that this is no joke and am trying to be as sensitive as I can.

Regardless, there is no root, custom ROM, custom recovery, or module that can stop (you, yourself, in this case, i guess) from booting into Recovery Mode and Factory Reset-ing your device. Even if "root my phone to completely and permanently remove these app from my phone", it wouldn't stop those things from being re-installed with the reinstallation of the OS. Also, (supposedly you, yourself, i guess) would know the FRP account information or screenlock pin/passcode to be able to get back into said phone. Even for iPhones, there are similar physical methods. I guess smartphone makers don't really have those 2 cases in mind when devising how to set up a device/operating system. The ability for all smartphones to be able to factory reset -- as it normally is the final step of troubleshooting before having the device repaired or replaced -- is most likely there to keep from being absolutely flooded with everyone's broken phones being sent in for repair/replacement for all that a factory reset could accomplish.

What device are you using? If there is a barebones custom ROM for it (LineageOS, SlimROM, ArrowOS are said to be the leanest), then if you flash that, no matter if you factory reset your phone, there wouldn't be any bloatware or "unnecessary and distracting apps", as (by definition) it's supposed to be the most bare-bones AndroidOS being AOSP based.

If you truly want to do a "digital detox" without a risk of factory resetting your phone, maybe you want to try transferring your number & service to a "dumbphone" or even a flip phone...? Like, it would only have calls & texts capable What are the the essential non-"unnecessary and distracting apps"? Everything else you might still need that I can think of, I imagine you'd have to go analog -- a GPS maps system [which then I would suggest you purchase a standalone (there used to be Garmin, TomTom, and the like)], or if you need a music player [I'm sure you can still buy mp3 players], or Photos [get a digital camera], or apps like DoorDash [you'd just have to call the place for delivery or gotta pick it up yourself], or Banking apps [to check your balance you can call your bank, or to do other stuff gotta do the same thing as DoorDash apps and go to the bank physically do banking things (deposit, transfer funds, check balance)], making any sort of payments to people or meters [gotta carry cash], making any kind of payments for online services [I imagine they still do paper bills and accept in-person (again, gotta physically go out to it) or mail-in payments]. Every other seemingly essential app I can think of (email app, web browser, video players) I imagine would lead to undoing said detox (with advertisements, spam, "news", and other ways to show you what you're missing). I guess addiction ain't no joke when it comes to funding it (in terms of products you have to buy in place of what serves the addiction, or additional alternative actions you have to do to avoid what may lead/help the addiction)....

Your situation is very confounding and really sparks my curiousity; so I answered this mostly as a mental exercise on how to approach the hypothetical....but as I said before, I'm trying to be sensitive about aspects of it and am taking the query and possible circumstance seriously as well...

But I hope you answer my questions to help clarify the situation and understanding of it....