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.