Can you open a family with its name?

you can look into the topic on how to use list.filterbyboolmask. it does provide some insight on how you should do from here.