Is it possible to make a Sprite Animation that is connected with two seperate Characters?

Godot Version

4.2.2

Question

I want to make a Game with special Animations for example in Metroid Other M you can perform a Special Attack for some Bosses where there it plays a special Animation for Samus Aran and the Boss together. What I mean is I want to make a special Animation where the Player performs a Special Animation connected with the Boss to make it visually look cool. How can I achieve that in Pixel Art Animation? Do I need something specific? Do I need to make these Animation seperate or connected in a Sprite? I don’t know honestly.

Here is a GIF what exactly I mean with the Enemy.

Both solutions should be possible. You can make a single sprite, but in this case you would have to hide the other sprites or you will have 2 players/bosses. If you do 2 sprites you have to make sure that the positions are alinged as they need to be for the animation to work

Is there maybe a Tutorial I can find for that?