I can, considering that you can do that from user space using strace. Or ebpf which is probably the actual right way to do this kind of thing.