They're able to skirt the illegality with bullshit arguments about it being a volunteer work project. But let's be honest, these people are paying to be a part of the Israeli army and support them, enabling their genocide.
Can you imagine the fit that the government would throw if there was something similar for the Russian army?