Is there any way to set a percentage of a group?

I would like to have something like: apply feature X to 10% of Y group. Is it possible right now?

As far as I can see in code it isn't possible, perhaps I'm missing something.