The STOP keyword is mandated as unsubscribe at the carrier level (Verizon, ATT, TMo) not just the vendor level. So if you reply STOP, it's very likely that you will not receive another message from that number.
This will be true for any programmatic SMS vendor. There could be smaller scale & more manual approaches, but that would be rare.
There has been a big effort in the last year+ to clean up the space and require consent before any SMS is sent.
FWIW, somewhat surprisingly, my google pixel has an amazing spam filter for SMS and I rarely get SMS that I don't want.
What I want to know is, what's the purpose of those random texts that just say something like, "How's it been?" from a number that I've never communicated with? What's the angle there? Anyone know?