This is almost certainly impossible and it is most certainly a very very bad idea. When the temperature rises above a certain point, the various components of the computer stop working. When it reaches past that point, they can be permanently damaged, essentially they melt. In order to avoid this, modern hardware will automatically shut itself down when it is approaching the dangerous temperatures. This is hard coded into the hardware itself, it has nothing to do with the Operating System (Windows or Linux or OSX or whatever).
While it might conceivably be possible to hack into your BIOS and disable this (I doubt that it is, but I cannot say for sure) it is such a bad idea and so dangerous to do so that it seriously would be cheaper, faster and easier to just throw your computer out of the window. In fact, unless you live in a high floor, that might even cause it less damage than letting it run at extreme temperatures.
Your CPU has hard-wired overheating protection. Intels had it 12 years ago (see this video) and I hope modern AMDs have it too. So even if you’ve found a way to disable motherboard’s overheating protection, CPU would probably freeze. Of course it’s not very useful when frozen, so auto shutdown sounds like a good option.
If you want to see a PC on fire, there are simplier ways to achieve that. But don’t try it at home 😉
you know you could do a simple process. just start to play a game, when you know it its overheating (making noise) you could run the vacuum cleaner or compressed air in the vents do it until some temperature drops. just a tip place the laptop where some air can pass in and out easily.