Yes, in 2016, Pete Hegseth stated on multiple occasions that U.S. service members have a duty to refuse unlawful orders. For example, on Fox News, he said, "The military’s not gonna follow illegal orders," in reference to potential commands from then-candidate Trump. Sources include CNN and archived videos.