We could cover it in legislation. In fact, to work, I think it would have to be covered in legislation.
As to limiting loans in leadership races and the reimbursement to the parties, only the parties themselves.... Again, the parties are already setting spending limits for their leadership race, so they have the tools.