It’s not even limited to “electronic” music. Consider that sound engineers work with hundreds of layers on a single track to engineer a very specific sound. Then a pop star adds vocals. Then those vocals are engineered beyond recognition. Sometimes if the vocalist is talented enough they go on tour and then perform with minimal after-effects, and sometimes they lipsync.
It would be a shades of gray situation, but I think of this performance by Skrillex where he is mixing live, and thats what I would expect from a live EDM performance. There should be a line between a EDM artist, and a DJ