It sounds somewhat similar to shackles of pain, which damages the victim when the caster gets hurt. So it should probably be doable. I don't know how exactly that has been implemented, but looking at that skill would probably be a good start.