I doubt anyone here can answer that unless they're really familiar with the market. In a lot of Europe, however, buying property that you don't live in is really just a place for very wealthy people to park money because you don't make the kind of returns that you can make in the US. I'm sure that's a very large generalization, but people I know in a few of the countries tell me the opportunity for making a lot of rental income like in the US isn't really there.
In any case, whether or not you should buy and rent when you leave depends on what the numbers say. What do your numbers say?
Many expats do that...but it's all about the numbers.