There are plenty of successful mods and even paid products capable of making a MacBook include a functional touchscreen.
As far as I know the closest thing you can do with an iPad running macOS is some form of Remote Desktop / VNC. The QEMU attempts on jailbroken iPads are unusable, and impractical. Certainly no one has done it natively (outside of Apple of course)
People have ran macOS userspace on iPhone
Wait really? Can you link me please?
https://twitter.com/khanhduytran0/status/1954724636727587237