Is it possible to disable items in a ComboBox?

Seems like a simple thing but doesn’t appear to be possible with the regular ComboBox. Can it be done by extension or with an add-on?