That is possible through the constitutions and statutes - by focusing on the Oath of Office process. Here in Colorado there are statutes describing Form of Oath. If the official is in violation of statute then there is no sovereign or judicial immunity. Then one can hold the official personally accountable.