There may be DNS-based solutions. I use NextDNS to block reddit except for 7-10pm using the recreation time settings.
I tried blocking Facebook on my phone using both the parental control option AND adding `facebook.com` to the deny list.
Somehow, the app is still chugging along totally unbothered.