Possible to insert values into list type of product metafiled through code?

I know that it’s possible (I am already doing that) to insert values into product metafield that is a single-line text metafield and designated to hold a single (one) value.

Is it possible to do the same if the metafiled designated to hold a list of items through code and not have to do it manually?

Ultimate idea is to use those multiple values in search filters.

You can update metafields through code. This is done in apps all the time to store values. But I’m going to guess you mean through a liquid variable in the theme?

I am trying to automate this through Shopify Flow. So yes, through a liquid variable, essentially.