you'd have to script it by getting the vectors off the start and end of the long joint, divide the vector by the number of joints you want and then increment that to place the new bones inbetween the start and end of the old joint.
If you were to do it by hand I'd create a new chain then rotate it to match the long joint and then scale it to approximate the correct end of the chain.