There is a support for a third party blocking list which can both hint and block marketers etc (At least for phone calls not sure if it works with texts).
It’s not a well known nor heavily advertised feature - I learned about it from carrier commercial who provides app of their own.
Messages going to a different list helps little when iMessage is full of 0-day exploits that happen as soon as your phone receive the message.