My friend did it and got all his money back. (In my friend's case, there were rules saying the landlord has to return deposit within 30 days.)