Sorry to say, but you’ll have to roto out the arms as they pass in front. And you can do motion tracking, but you’ll have to manually adjust the points when something gets in the way of the track. It’ll be a lot of work, but it can be done with a lot of time and patience. Of course there’s better tracking programs out there, but for just using AE, that’s the only advice I can give.