Using gdisk's i command I can view a partition's "unique GUID" (identifying the partition) and "GUID/type code" (hinting the partition's type/usage/format) and the t command in gdisk allows me to change that type code, but only with a list of pre-defined type codes. Is it possible to manually change the type GUID of a partition in case gdisk's list of pre-defined type codes doesn't include that type? (Preferably some method that does not involve opening a hex-editor.)
For example the version of gdisk on the live CD of Elementary OS 5.0 doesn't include the type GUID for LUKS partitions, CA7D7CCB-63ED-4C53-861C-1742536059CC, but the version of gdisk on the ArchLinux live CD does and it is listed as type code 8309.