Thanks for the query
Yes, uncontrolled BP
can lead to headache.
The other possibility in you could be either migraine/ tension headadche
Please get evaluated by a neurologist
who will examine you and will guide you through investigations as well to establish the diagnosis.
Treatment will depend upon the cause