This one is not really possible via the API. It is odd that there is no notification of any kind for content removal. The most I could do here is like you said, send a notification when one of your posts or comments is moderated.
I'm in the process of rewriting the notification server, so I'll look into adding moderation notifications while I'm at it. Hopefully at some point Lemmy will handle removed content better than its current system.