@mozaku Have you had a look at MMM-Touch? It might be a way of giving other modules touch interaction.
I’ve given a few modules touch support and I’m working on more of them. E.g. MMM-Keyboard already has, MMM-AVStock will have touch support. I’d rather keep that function inside the modules.
Not sure how your other apporach would look but I’m not too fond of using iframes. Would rather setup a proper smarthome module.
What are you trying to integrate for your smarthome appliance?