Yup. Along with most other tangs, a high percentage of their diet is algaes.
What sort of algae do you have?
What size is your tank? There might be a better fish to do the job.
In the long run, an outbreak of nuisance micro alage is better solved with flow, lighting, and h2o quality changes.