call blocking

This is probably a silly question, but is it possible to block a persistent caller who (or which) has a withheld number ? An insurance ambulance chaser !!
This is not the most important thing in my life but it does get up my nose ! I live in the UK and our cold calling and antispam laws seem to be beyond understanding, Can the machine do it ?

Original thread: https://forums.imore.com/threads/call-blocking.325179/