Structure for a business with clients enrolled in different courses

Structure for a business with clients enrolled in different courses

I run a business that offers group lessons for a coaching service with different set 'courses'

Each course is a set product with a price, but I would like to have a seperate object for tracking the specific course including the duration.

I managed to link Contacts to Products but that wasn't able to do what I wanted.  I'd like there to be an object in the middle so it would be   Contact enrolled in one or more Course objects,  each Course object linked to a Product for invoicing purposes.

Then I'd like to be able to automatically create an invoice for a contact based on which course they are in, or perform other bulk actions to all contacts enrolled in the same course such as email notifications of time changes or cancellations.  Is there some way to do this with Zoho One?