Animating Bones With Curves

Is there a succinct way to attach a curve of any kind to a bones transforms. For each bone, could I have 6 curves (transform x,y,z and rotation x,y,z) that controls its position over time. I can see there’s a way to attach a curve to morph targets and to poses, but I cannot seem to attach it to a bone.