AFAIK this is not possible for a working number. Failed dial tone and “text message not delivered” are handled on the carrier level, if you block a number then they’ll just get a “busy” tone when calling and nothing when texting. You can’t blanket reject everything while retaining data, unless you disconnect from cellular and only use WiFi.
They do, at least where i live (not UK, but still Europe)