Possibly.You need to check your written contract to see what termination clauses it included, and you agreed to when signing it.
If your contract allows early termination for this reason it may also include provision for some level of financial compensation (e.g. a % of the total fee that would have been due over the total contract etc).
As a freelancer you are not covered by unfair dismissal legislation, but if the contract is terminated for this or any other reason, for reasons that are not covered by clauses in your contract, you may be able to sue for breach of contract – but please take advice about this as it can be complicated, expensive and time-consuming.
Image by ibanda