The answer is maybe. It really depends on your circumstances.
Please see this page at IRD for more info; remember though it is only talking about rental residential property, as different rules apply for property traders/developers.
As always, if you would like more information or are not sure about your situation, please contact us.
NB: If you are a property developer or trader, and therefore paying tax on the net profits from the sale of your buildings, then legal fees are one of the things you can claim.
Accounting for your rental residential investment property; general taxation advice.