Can an infected tooth cause headaches?

Yes if on the same. Side of the toothache.
Yes. It is not uncommon for the pain from a tooth to radiate or be referred to the head and be considered a head ache. Of course not all head aches are tooth probs but if you have a tooth prob you may get a head ache. Obviously you need to go see a dentist to get it taken care of.