An Android emulator with Play Services should work in theory, but I haven’t tried it. They could have extra checks to prevent that.
I think there’s also an unofficial Python library, so you can write a simple script that keeps your account active (and use the web client).
It's still Android. How do I do it on a GNU/Linux phone?