Soldiers can refuse. In the 1950s, Israeli judges ruled that some military orders should not be obeyed, saying "the black flag of illegality" flies over them. Soldiers have a right a duty to disobey govt orders which are illegal and abusive.
Italian FM arrives in Iran to promote economic, political ties (Reuters)
from the article: IDF soldiers face penalty after uploading Hebron dance video to YouTube