It depends on your laptops specifications e.g. motherboard, CPU, Graphics card, RAM, and it's cooling system e.g. fans, water cooling, radiators and heat sinks.
I wouldn't recommend editing on a laptop without an efficient cooling system. Well, not for a long period of time.