Migrate Django App to Frappe

I have created an Application using Django + Websocket to connected to Spot Robot using the Boston Dynamic Python API. I want o migrate the App to Frappe. I am looking at putting the app on the www folder or create a page for the App. The first option will be the easiest way but I want to know if anyone have use frappe framework for the same purpose to control spot.