Well, theoretically, that's one of the points of the electoral college. To be a check against the masses voting themselves tyranny. In reality, that's long been hamstrung by some states criminalizing faithless electors. Though I don't think SCOTUS has ever weighed in on it.