We have support for adding a JSON Schema to a feature flag which will let you do this, however it only works for features of type JSON, not string right now.
Here's an example of a "log_level" feature flag with enum validation, plus what it looks like when you try to change the value to something invalid.
We have a lot planned here to make the UI easier to use in the future.