if you meant something like the "disconnect with no reply" option already available, then yes, you can do it with a simple script.
just disable that option, and use this event script (UNTESTED!)
[+request]
{.if|{.match address|{.$ban-list.}|%ip%.}|{:{.disconnect.}:}.}
[ban-list]
151.123.232.2;10.0.0.*