How to rotate an EditBone? is it possible
While you can adjust the head/tail/roll directly, EditBone's have a helper function for this:  EditBone.transform, which I think is the most direct answer to your question, just pass a rotation matrix to it.

This is simply a python helper function, see the code.