Automate chat removal

I’m wondering if there is a way to automate removing a client from the group chat after they have completed their program? I’d like them to retain access to program but be removed from the group support chat. Is there a way to set this up currently? Thanks.