For metal braces, people can be allergic to metal components such as nickel. However, they do have latex-free elastics for those with an allergy.
For aligners, I have not seen anyone with a true allergy, a true allergy means you will be excluded from it and I believe you will be excluded from the clear aligners as well.