Someone gave me an older Microsoft Surface, 8GB RAM, and an older Intel i7 inside. It performs reasonably well. But it runs Windows. I am now installing Linux Elementary on it.
https://elementary.io/ It will look and act like a Mac. The keyboard on a Surface is removable, with a powerful magnet holding it in place, but you can rip it loose.
I suspect I will like it with no keyboard or with a Mac Bluetooth keyboard and use it like I would if an iPad ran macOS.
Maybe I can come back and give an opinion of a Mac-like OS on a touch computer.