That's A/B testing, not feature flags. Check https://news.ycombinator.com/item?id=30115276 for a description of how feature flags are used.
Gradual rollout and specific customer opt-in to certain features can certainly be done with feature flags, I wouldn't call that A/B testing unless you're running experiments and reaching a conclusion that A is better than B (or vice-versa).