Can healers do damage? Yes. They do have skills that allow them to DPS, so yes they can.

But should healers be doing damage? If you party is not dying and you are comfortable in the fight/your party/your tanks/your healing/everything, then go ahead. There's no law that says you have to DPS just as there is no law that says you cannot. Just... do whatever you're comfortable with.