Sorry, can't offer a definative answer, but I suspect amitriptyline could cause a few problems at medical.
Whilst recognising that this small dose is helping in your case, would it be worth exploring other non medical interventions with your doc. (Explaining to him the stringency of an aviation medical?)