It can be seen that it is your right to hire a lawyer, but it is not the direct loss brought to you by the defendant's infringement. Besides, lawyers provide you with legal services, and your relationship is only an entrustment contract. So the court won't judge the other party to pay your lawyer's fee.
However, in civil cases, there are provisions requiring the other party to bear the lawyer's fees for breach of contract.