Yes, you can. Create a new configuration file in /etc/fail2ban/jail.d/ with your custom settings.