Yes, exchange fees to open and close deals are included in the bot targets and safety order price calculations. You can see your Take Profit order 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. 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.
Currently Grid bot profits are shown without fees deducted.