Yes the AnyMechObjectExcluder can be used to exclude all kinds of objects from the study including joints.
Note that the joint will still be seen in the modeltree but will not be used in the study it has been excluded from.
Please always check in the MechObjectExclude object if the search you made found the objects you desire, this can be done in the ModelTree, it will report how many objects and which one has been excluded.