It seems that the new feature “save-state-resume GC filewalker” isn’t functioning as expected

This is already possible for zfs for example, exactly what you suggest. It wouldn’t be a ramdisk directly, but RAM (+SSD?) used to cache this metadata.
It’s partially possible for ext4 too: