Yes lightheadedness and dizziness can be a symptom of anxiety.
If you are dealing with and experiencing anxiety then yes you can have dizziness as well as lightheadedness which is normal and when the anxiety goes away then your lightheadedness and dizziness should go away as well.
Having lightheadedness and dizziness even when you have anxiety is pretty normal and usually nothing to be concerned about.
However if you're experiencing any fainting or the lightheadedness or dizziness doesn't go away within a the day then you should see a doctor about it.
But if the lightheadedness or dizziness goes away on it's own and doesn't occur to often then you're likely fine.