Yes!
Exchange fees to open and close deals are included in the bot targets and safety order price calculations (including Grid bots). You can see your Take Profit order is slightly higher because of it.
If the exchange has some fee discount available like on Binance with BNB, you will have slightly bigger profits than you see in the stats on 3Commas. The bot itself will benefit from the BNB fees to make faster and more profitable deals, but stat calculations are done without taking fee discounts into consideration.