Hi Hendrik,
3dAFNItoNIFTI is probably the better bet for that. A lot of the metadata in an AFNI .HEAD file migrates to the AFNI header extension within the nifti format during this conversion. Letting AFNI chose what aspects of that metadata to include is probably a better bet. Nibabel can access the resulting header extension embedded in the nifti file.
John