is it possible to write automation scripts in Qpython on android OS using selenium or appium

i am trying to install appium directly on mobile using in qpython. now i want to automate the mobile web apps. please let me know will this work or not. I dont want use PC to develop the test scripts.