Unless everyone is using iMessage, there's no way to remove yourself from a group text — you'll need to mute or block it.
While the group text may not be as prolific as, say, the group WhatsApp chat or email chain, people who prefer to use good, old-fashioned texting may have a few ‘mass texts’ to send information out to ...