I have a 2020 GMC Sierra with the 6.2L and its also been idling rough. I notice it after the dreaded auto stop feature starts the engine. Not sure what is the issue but I can tell its rough. I have about 5.900 km on the truck and it started to run rough at idle about 1500km's ago. At that time I also noticed that when starting it up after it has been sitting overnight I get a puff of blue smoke when I remote start it. I figured it was the valve guides but hoped it wasn't the piston rings as a worst case scenario. When I took it into the dealer they diagnosed it was bad valve guides. I am waiting for the new guides to be shipped in from the US which could take a month because of the pandemic. Having said that, the problem could be fouled spark plug because of the oil burning off after I do a cold start. Use the remote start and stand behind the truck when it starts up and see if you get the blue smoke when you do a cold start in the morning. The dealer without hesitation said they would replace all the guides on both heads just to be safe. If you are having a similar problem and the dealer tells you its your valve guides make sure you get all of the guides changed not just the one or two that are leaking. I am also going to have the spark plug changes in the cylinder that is the issue.
Good luck
ST