Skill Animation Layers

Has anyone managed to find a way to have a Skills animation play in front or behind of a targets Z index depending on its position? For example, if there were two enemies, Target 1 and Target 2 and you attacked Target 2 which was in the back, the Skill animation would still play on Target 2 but the animation would play in front of both targets. When it actually should be playing in front of Target 2 but behind Target 1.

I found this thread:
Which can make a skill play behind the Enemy or Actor Sprite.

As well as seeing that Yanfly managed to achieve this with Actor and Enemy sprites in the Battle Core plugin.

So I was thinking this might be possible to do with Animations this way as well. Any insight or help, as always, is greatly appreciated.
Bumping this as I'm curious about this too.

Original thread: https://forums.rpgmakerweb.com/threads/skill-animation-layers.122047/