Could you share which specific UK law using something like this would violate?
(1)A person is guilty of an offence if—
(a)he does any unauthorised act in relation to a computer;
(b)at the time when he does the act he knows that it is unauthorised; and
(c)either subsection (2) or subsection (3) below applies.
(2)This subsection applies if the person intends by doing the act—
(c)to impair the operation of any such program or the reliability of any such data;
But as a proverb says, "the law is like a drawbar, you can bend it as you like".
Why not?
If you don't want bots clicking on your link you should put a captcha on it. If your link is publicly accessible, my background click is authorized by consequence.