It’s not likely. I don’t know if Akismet was ever configured, but it’s no longer very effective. What’s recommended now is this: Discourse AI - Spam detection The AI plugin is now part of core and is installed.
If you’d like help you can email me.
EDIT: It’s possible, but not likely, that the change described here could explain your spam uptick.