Is ROOTFS_POSTPROCESS_COMMAND to update debian /boot available?

I saw this very interesting article but it seems that it’s dedicated to Yocto Project

Is there an official way to update some /boot files during an update with “Debian family” images ?
Thanks

I think you can use the hook mechanism to modify the contents before the image is generated.