Yes, the US Supreme Court has been very clear that political parties have the right to set their own rules.