Not if this is anything to go by:
Gabrielle Keller has been given until the end of the year to leave her flat in the small southern town of Eschbach, near the border with France.
The flat belongs to the local municipality, which says it is needed to house refugees.
Imagine a UK local council evicting a resident so as to house refugees. You can't can you for the simple reason that our laws don't allow the Council to do this (it's not clear whether German law allows this either).
So perhaps we can stop saying how splendid and super-duper Germany's housing market is? It isn't, it never has been and we really should stop pretending otherwise.