I imagine custom ROMs would be able to work around this restriction, but I wonder if simply rooting the phone would also allow you to switch it off?
But Google is working hard to make sure important apps won't work anymore due to their "Play Integrity" crap.