No. Anybody can buy in Germany who has a valid passport and the purchase funds that will be needed.
Do I have to be German resident in order to buy in Germany?
Next post: Can I live in Gemany when I own property there?
Previous post: Why is Berlin a good place to invest in real-estate?