Yes we do know what you mean. But it is not what you can do. You cannot run kernel mode code as a standalone without a lot of the rest of the kernel code. You can call syscalls directly.
You can also create a module that you load into the kernel which will call specific kernel code. You can then give it a specific entry point (aka syscall)
What exactly do you mean? If you would condescend to tell us what modules you are trying to run it would make life simpler. Because the way you are asking this question says to us that you do not understand some basic things. It is like asking how do I get good mileage in a car when the brakes are locked on.
The question makes little sense as asked. Period. If you can't give us a good explanation, please try another forum where there are mind readers who are good unix programmers as well.