I do think it will work on non-Pixel phones, but you do need to enable Secure Settings for Tasker, which probably can be locked down by Mobile Device Management or other admin control methods that a work device could have.
Listed my config in a sibling comment: