https://github.com/HabitRPG/habitica
It is open source. You can even run the server yourself. You'll probably need to build the android app pointed at your server URL. It requires a bit of technical chops. But it's doable if you truly wanted your own stack.