I'm on a Pixel so not sure if what I'm about to say is possible for everyone, but I used "Digital Wellbeing" to set a usage limit of 0 minutes for RiF, then put Jerboa in the same spot. Working for me at least to not have to completely change muscle memory.
Why would it be illegal? It's shitty and it's obvious what they're trying to do, but I can't fathom what law from any jurisdiction this would violate.