short answer is "yes."
long answer is "it depends." by sensor and lens combination alone, GR4 is better.. but GR4 doesn't have a lot of built-in computational photography...it does have noise reduction, and some built-in features to enable some kind of HDR...the camera is geared towards more serious photography...they require more time investment because to really get the most out of them, you need to shoot RAW.
the iPhone and a lot of modern phones are very very good nowadays even with their small sensor because of improvements on optics and computational photography features that we usually take for granted (HDR, shake reduction, noise reduction and simulated depth of field and dead-simple panoramas) but for certain scenarios (like low light) the sensor is just too small that no amount of computational photography can make it better.
The question is.. are you willing to take an extra gadget with you to take better photos? only you can answer that.
What i would recommend, though.. is to first try out apps that allow you to shoot RAW, like Halide.