Well, I was thinking you'd do it for all the .apps and the kernel/kexts, which you can just forbid debugging. But I guess you can't do much about all the code in the dyld shared cache which has to be debuggable, and that's a lot of the OS right there.
They control the CPU, so nothing stops them having a system where the CPU can step in and out of encrypted code. You aren't really meant to 'debug' closed source binaries anyway.