That's what I'm doing with my new project, Valet. It's a Raspberry Pi configured to be a fake mouse, keyboard, and an Android (touch stylus). Works well on iOS and Android.