Setting indices.id_field_data.enabled for index instead of cluster

This setting has been great to be able to change because many problems can come up from aggregating on the _id field. However, I want to be able to control this setting for a specific index, rather than the whole cluster. Is that possible?

I have a small .ml-anomalies* index that I want to be able to uniquely identify a document in a script, but I'm unable to only open up this possibility for this index and not the other indices.