No, because you volunteered your services. When you enlist, you are committing yourself to that oath. If a superior tells you to shoot a child holding an AK-47, you do it.

Of course, you could always desert and face the consequences.