Chips component and has_many

We have an edit form for an object that has_many of another item where those other items are never created in the form - they are referenced. Think “what topics are you interested in” when registering on a news site.

We want to add a multiselect experience with a menu of options that become chips when selected, and the chips can be 'x’ed to remove the selection to populate the has_many list.

That feels like a great stimulus use case, but I can’t find any examples of someone having done it before. Is anyone familiar with this application of stimulus?