Yes, it is highly recommended to connect the dishwasher with a grease trap directly. However, grease traps should not be installed very close to the dishwasher because a high flow rate and temperature can prevent proper separation and trapping of FOG and the initial stages.