As far as I know, Photos in High Sierra does not have a way to convert photos to HEIF. You should be aware that HEIF is a replacement for the JPEG format, not RAW format. HEIF is fairly new, and I guess that Apple will add the functionality to convert to HEIF in a future update.