Not when the target of both things is a crazed dictator with the civil power to oppress or murder German bishops and thousands of their flocks. A birthday wish is an easy enough thing to do to placate him and maybe protect a lot of innocent Catholics.
Also, we do not stop wishing people well just because they’re possessed. The good wish is for the person, not for the demon in possession of the person.
We are taught to love our enemies. Both a happy birthday wish and an attempt to exorcise someone are loving acts towards that person.