This is something you shouldn't try to do at home lol. It would run but you're going to break the refrigerator instead of the PC and that could cost more hassle, haha. It won't be able to cool your PC in the long run if you keep it there. The freezer would just warm up and then overwork the compressor.