You could hope that Android Studio's emulator / modded Waydroid or WSA would work for a while. At most you'd be buying time. Seriously, just keep the phone and fix your own unwanted habits instead. You'd be wasting your time fighting the checks and blocks they have put in place. At some point strict hardware attestation will be both very strong and ubiquitous enough that it will be impossible to run apps with high security requirements in custom environments. Google and Apple have no incentive to let loose either, unless they are forced to, which I unfortunately don't see happening.
This is true, but it can't be reduced to just a habit problem. While habit is certainly a part of it, the bigger issue is that it's nearly impossible to exist without relying on a piece of shady technology that's now seen as proof of existence. My computer is more than capable of doing everything a phone can do, and our existence should be verified in less intrusive ways than through constant tracking of our location and habits.