No, this cannot be done today.
It is on our future roadmap, but is often better solved with Multivariate Flags, which is being launched in Q1 2021.