Update Digest Email Using Plugin

In general, you can do anything in a plugin. There is no sandbox to shield plugins from a protected core.

The problem is more about learning how to do it and implementing it in a way that survives updates.

You should move this inquiry to Development.