Of course. Fighting enemies increases the traffic between server and client (player) so yes, it's bound for you to get more latency. The larger the mob/number of enemies, the larger the data sent and received, the larger the response time (ping).