Here are some plug-n-play options, might cost.
I plan to try to use the Collapsible Sections as a template. That way, I can use a <template> tag when I want to the accordions to work rather than every time there's an <h3> it shows up like an accordion. That's the theory, at least.
I'd love to know how your progress goes getting this into Canvas. Please let me know and/or post your progress and maybe we can collaborate on it.