In order to obtain an Israeli medical license, it is necessary to become a citizen or a permanent resident of Israel.
However, it is possible for non-citizens to obtain limited licensing, designed for individuals who are licensed as physicians outside of Israel and want to volunteer in Israeli hospitals or work in Israel temporarily. Read here for more info.
In this scenario you will have to find a hospital to “sponsor” you. This hospital will apply to the ministry of health on your behalf for a limited license to work in its auspice only.
This is the only way to practice medicine in Israel without being a citizen.