If you have a Samsung phone a more gradual step in this direction is their maximum battery saver mode (my S7 had it, at least, not sure about more recent models). It turns the phone into close to a dumb phone (iirc no social media apps, maybe a web browser). Only a subset of preapproved apps are available in this mode.