It depends on many factors. There are a few restrictions relating to foreigners in Israel. Property that is handled by the Israel Land Administration will be able to be purchased, only if you are entitled to become a citizen according to the Law of Return. If the registered owner is private, there are no restrictions.