If the laptop overheats, they yes it can harm the laptop, mainly the battery, cpu and gpu. This game is very optimised for all kinds of laptops. I would play the game at the lowest settings and work your way up until you have found a setting that is right for you.
Have you bought gta 5?