Yes. It is possible by using a black hole. You have to insert a black hole by targeting the Sun, and it will suck its energy. No heat will remain after that, and the solar system will collapse.