Not likely... network hardware on your average laptop is not temperature monitored so even if it was overheating for some reason (which is unlikely because they put out very little heat), it would most likely just stop working instead of making the computer shut down. The reason it feels warm near there is probably because the cooling components or CPU/GPU (the hottest hardware) are located near there.
How do you know these shutdowns are caused by overheating?