Yes, this is a thing. But the key difference there is... that's being done ... in user space.
We live in a world where just last week Google turned off io_uring access on a pile of machines, and that's only "executing" restricted sets of operations. Executable code in kernel = big giant target painted on back.