The companies using them know, and that's the goal. It's all intentional, and many companies have had many meetings over many years about it. For lack of a better term, they simply aren't good people safe for polite society, and their mission in life is to reduce the quality of your life. This they call "engagement."
People buy houses with these techniques. They like it when your kids have to yell "Mom!" 10 times because you want to finish that one level. Their bonuses depend on it.
A good, effective habit is one that is internalized like that. I really don't think you can effectively replace it with an external interruption.
I especially see gamification as problematic for learning things. It seems to me to be a 21st century version of teaching to the test. You end up learning what's easy to gamify instead of what you should be learning. If that's literally the only way you can motivate yourself, I suppose you've got to do what you've got to do. But, if you will take for the sake of argument that learning a language is a means to an end, and not an end in and of itself, my experience with Duolingo is that I got really good at using the language to earn achievements on Duolingo. My real goal, though, is using the language to read books and have conversations. So I've had much better results with (non-gamified) language learning methods where the reward for my work is getting to do the thing I actually want to do: reading books and having conversations.
There might remain a question of whether it's better than what's currently being done by the short-sighted. But if more humane approaches stand a chance of winning out, then it might be best to not give any support to the competition, and even discourage others from doing so. That type of conclusion one should hesitate to draw, but it might be right.
As for gamification, perhaps if you could gamify "reading books and having conversations"—but as you say, by default what you'll get is just what's easy to gamify.
That said she also pushes back against the idea of using things like notifications and gamification to try and mold our behavior. I'm kind of inclined to agree; my instinct is to say that this is a spot where the ends don't justify the means; encouraging addictive behavior patterns is still encouraging addictive behavior patterns.