Can help with sleep
I prescribe amitriptyline
often for people like you who have both headaches and difficulty with sleep
I have them increase it no faster than once a week until they get to a dose that helps their symptoms without side effects. Feel free to consult me to discuss further.