Just use bsdtar, which will convert a tar archive to cpio: https://unix.stackexchange.com/a/581014
I have used it to convert docker images to Linux bootable initramfs archives for Rpi4.
I have used it to convert docker images to Linux bootable initramfs archives for Rpi4.