With flexible rate agreements, that's already possible, and some DIYers already are doing this - the problem is the interfacing. Heat pumps (and central heating systems in general) are notorious for being walled gardens, most freezers run on analog technology (i.e. a bi-metal strip acting as a thermostat).