That's something that should be possible with the upcoming Workflow feature. Some details can be found in the November Recap blog post.
https://immich.app/blog/2025-november-recap