HEIC looks to be a file format (or rather, a container, like mkv, etc.) There's no reason you wouldn't be able to upload
.heif, etc. files to NodeBB as long as the list of allowed extensions is updated in the ACP backend.
Sorry for the delay in responding