Nope. There are better ways than what you're suggesting. Fail2ban is there to scan log files and determine patterns. Either way, you would need to create an add-on to make a registration log file to look for patterns. There are a ton of add-ons that already block and prevent registration spam.