Purge/delete nested/shared family types

Hello all,

is it possible to select/delete only loadable family types in a project when these types belong to nested/shared families?

There is no way to purge them so I wonder if we can automate the process somehow.

This is part of this post.

This is the workflow that we are currently using, any different approach that you can think of?..