There is no mention in the military code of the right to leave the armed forces as a conscientious objector.
Therefore, any soldier who has conscientious objection would therefore be treated as either insubordinate or a deserter.