Yes, sumatriptan is occasionally used for other conditions besides migraines, but it is primarily prescribed for migraine treatment. In some cases, it may be used off-label for the treatment of cluster headaches, which are severe headaches that occur in cyclical patterns. However, the use of sumatriptan for conditions other than migraines should always be determined by your doctor, as they can assess the potential benefits and risks associated with such use, and whether your conditions warrant its use.