Yes. You can even use a swastika if the intend is clear. For example a figure throwing it into a trashcan.
I'm not a lawyer, but the word "Heil" ist not forbidden and Also its a picture of something relevant that happened. So in my opinion the Art itself is not illegal. Only the projection onto the building.
Someone correct me if I'm wrong.
You're welcome :)