Doing a quick check of the R5 I do not see an option to save in a HEIF format.
However there is a function to convert from HEIF to JPEG.

From what I read compatibility would be the main downfall at this point in time.