Absolutely! I frequently use this myself for the same reason. Specifically with applying to the neck for headaches – I recommend making sure to go a little bit up the back of the skull – at least for me, that has been helpful with my tension headaches.
I also have found that jaw clenching can happen during this – I find it great go put on the joint where the jaws meet near the ears.
jessies