For some things, yes, of course - but not in terms of CPU performance, rather in terms of memory management. One of the requirements for iPadOS (until now) was to keep everything in RAM, to achieve instant responsiveness. This requirement never existed on Macs, because the expectations were different.
When I open my Intel MacBook Pro, the screen often doesn't turn on for several seconds. Imagine tapping on an iPad and getting no response for a few seconds. When my older Mac has too many things open, switching between apps causes some lag. I am used to it, especially since I can at least move my mouse cursor (it doesn't feel like the system froze). On an iPad - the expectations are higher - the touch-based response must be instantaneous. This isn't achieved with magic, it's achieved with agressive memory management and keeping everything in RAM.
It is only with M1 Macs that we reached iPad and iPhone levels of responsiveness on systems that have a different way of managing memory.
Why do you think iPhones and iPads never had swap until now? Apple didn't think of it? They were designed as touch-based, mobile devices with instantaneous response. And one of the reasons they could do that was the fact that everything is in RAM and that the system agressively shuts down apps when memory is needed.
I don't know what to tell you, there is a lot of complexity here that is hard to understand unless you're familiar with the matter. I get it - it's easy to make a mistake and think that if a 10 year old Mac can do something, surely a 2020 top of the line iPad can too. But, that's not the case, as these are very different platforms. It is the M1 that allows Macs to behave like iPads and iPads to act more like Macs. Which is great for the future of both platforms.