You are thinking of DNG which is more of a container format. It can use multiple image formats internally to record the actual image, one of them being JPEG-XL.
iPhone raw images are actually a jpeg xl inside the DNG.