Run app automation idependently

Hi, Im currently working on automating an app via appium, and it works pretty well, but I wonder if I could somehow run the automation selenium program on the android device itself by for example an APK, without having to be connected to an appium server, so I can run that same APK on many devices to run the automation.

Thanks!