For me personally, I think his G5 is based on his emotions. Luffy uses "Happy Mode" against Kaido, I think in the future, Luffy will have "Angry Mode" and "Sad Mode" etc.
Of course you can also incorporate the "Luffy's G5 Sun God Mode" theory into the Anger Mode too. It depends on how you see it.
No problem ^^