I agree with your intent, but disagree re tactics. The names should not be made public. That would let potential defendants avoid foreign travel while letting others whose crimes have simply not been documented travel freely. Every IDF who was involved in questionable conduct should be afraid to travel - this is in itself a form of self-selected punishment. If they know they're guilty, they'll stay in Israel whether anyone else knows or not. Additionally, there will be some arrogant war criminals that will travel anyway, believing themselves above the law. Hopefully, these will be prosecuted. If they knew they were on the list, they would be less likey to travel.
12 Iraqi troops, militiamen killed in multiple ISIS suicide attacks (AP)
from the article: Lawyers in EU draw up list of alleged IDF war criminals