Animate B-Bone Divisions?

This is more a “Wouldn’t it be cool if…?” question than a current problem, but I’m wondering if it’s possible to animate a bone’s conversion from one of the standard type to a b-bone or to vary the number of segments of a b-bone on the fly.