Whatapp does have a list of banned hashes for images so that certain images cannot be send - this hash check is done on the client so as not to break e2e encryption.
The same can surely be done with web links.
The same can surely be done with web links.