I know some of these are not exactly "boss fights" and more of a "run away from the boss" parts, but I thought I should include it anyway.
Ori and the Will of the Wisps on Steam: https://store.steampowered.com/app/1057090
Bosses in video:
At the very first fight, it looks like I'm getting hit while running from the boss, but it's supposed to happen and you don't take any damage.
This game is not free of bugs. For example, when you escape from the final boss, you always take damage while digging through the sand. It's clearly not intended, but thankfully you can go around it and stay unharmed. There's also another part there which damages you for no reason, but that one rarely happens.