Can the forum be activated or deactivated per course?

Can the forum be activated or deactivated per course?

Yes.

First, you must have the platform's "Forum and Chat" plugin activated. You will find it in "Settings> Training and add-ons" of your platform administrator.

Now, automatically, all your courses will have a section of forums and chat. If you want to deactivate the forum for a specific course, you must check the option "Hide forum" when you create or edit the course from "Daily management> courses".