I tried that, and it did not work. mock still build all the rpms I told it not to build.
This is the exact command I used: mock -r /etc/mock/rocky-9-x86_64.cfg --without debug --without rt --without selftests --without python3-perf --without tools --without cross ~/rpmbuild/SRPMS/kernel-5.14.0-362.24.1.el9.0.1.src.rpm
it still built the kernel-rt-* packages, and kernel-debug-* packages, and the others as well.