No, this would not work.
Work Step by Step
Normally, the refrigerator takes heat from its enclosed interior and moves it to its exterior, outside the cool food compartment. In the scenario described, the heat ultimately stays within the kitchen, which won't cool off. In fact, overall the kitchen is even hotter, because the running refrigerator motor adds even more heat into the kitchen.