Not for income tax purposes.
Rather, those fees should be added to the purchase price of the transaction. This will be your adjusted basis in the transaction.
Thanks