How can I assign an action to an armature using Animation Nodes
Yes you can do it. But the main problem with your node setup is  that your using the second Object Attribute Output in wrong way. You haven´t passed any value to node. Therefore no paremeter can be assigned.