Yes you can. In fact, every photo you upload from an iPhone or an iPad is probably an HEIC file that is first converted to JPEG and then uploaded.