Yes, you can have the trait for both alpha- and beta-thalassemia. A 2014 Chinese study found that 17.8% of people with beta-thalassemia trait also had genetic mutations that affected the alpha gene.
You can also have both alpha- and beta-thalassemia.