If I had all places where memory is allocated under my "jurisdiction", I think this would be a very applicable solution.
Unfortunately when calling APIs to process images, some opaque code that you don't see ends up doing allocations on your behalf, and you can rarely pass your own pool to allocate memory from.