No. There is an increased risk of experiencing side effects such as confusion, drowsiness, dizziness and difficulty concentrating when taking Alprazolam (generic Xanax) and amitriptyline together (Drugs.com, 2024).