It is possible to hit the target without being hit yourself but it's currently kind of hard to do it. It also may not be too clear you are still being hit by the lightning somehow whenever that happens. That might be my fault that I didn't think of a way to make that show up more clearly with some combination of cues in the game.