Aren't flashing headlamps illegal in Europe for this reason?
Lighting in different parts of the bike is key imo. Daytime running front, varia rear, helmet light, etc. Having a light on a helmet makes it clear from further away that it's a person on a bicycle.