It seems pretty logical to me, assuming you have the freezer space. After all, the thing that makes scraps go bad is not being refrigerated. The best solution, of course, would be a sort of trash compactor that had a special freezer bin for compost.
When you dance with nature, try not to step on her toes.