Yes. It's possible that it will make your headache better, given the headache comes from "thinking too much", which I consider a by-term for anxiety or stress. It's just like how you can treat an ulcer in your gut with Benzodiazepines, if the ulcer is ultimately being caused by stress. The issues arising with Benzodiazepine usage would be the same as for any other condition. If you use them incorrectly i.e. too much for too long, the can be devastating to your mind and body. If used as indicated, that being every once in a while or for no longer than 2-4 weeks at a go, you should be fine.
@JohnBoy2000 I mean absolutely no disrespect. I consider your headaches to be a legitimate problem, but I'm a little concerned that the HR forums of Bluelight aren't the right place to be asking these questions. Your primary goal here is not to find out about a drug, its effects or how to use said drug safely, but to find a cure for headaches. This is a totally legitimate thing, but this isn't really the best place to be looking. If you have specific questions about a drug or how it might effect your personal safety, you can always come ask us.
I'm just a moderator for Bluelight, so, not a person knowledgeable about fora in general. I'm sure there are places like this where people with headaches go to discuss these things, I'm just not aware of it off the top of my head. As always, I'm happy to reopen this if I'm mistaken here, so feel free to get at me.