The Panda Arm (if you're referring to this: www.ori.ox.ac.uk/robots/panda-arm/ ) appears to have more DOFs than the example I presented; however, if by "the same idea" you mean an approach similar to this one, then yes, pretty much any structure can be broken down like that. But you have to bear in mind that by adding more and more degrees of freedom, you start introducing more and more redundancy that has to be taken care of somehow. Otherwise, you will end up with infinitely many solutions.
Can the same idea used to implement inverse dynamics for panda robot?
The Panda Arm (if you're referring to this: www.ori.ox.ac.uk/robots/panda-arm/ ) appears to have more DOFs than the example I presented; however, if by "the same idea" you mean an approach similar to this one, then yes, pretty much any structure can be broken down like that. But you have to bear in mind that by adding more and more degrees of freedom, you start introducing more and more redundancy that has to be taken care of somehow. Otherwise, you will end up with infinitely many solutions.