Hello,
please correct me If I am wrong but to my knowledge fail2ban preserves the banned IP addresses across restart. I tested it by stopping and starting the fail2ban service (not restart). Therefor I would suggest to go ahead.
As a backup method you can save the firewalld rules using the...