Instead of brightness, you could make the screen go black and white. I already do this to reduce my screen time. You can set screen colors in accessibility, and scrolling instagram is much more boring when it's in B&W.
I'm now using the iOS shortcut automation turning on the BW mode at 10pm and then disabling it at 5pm.