Strong possibility is the throttle body. Need to retrieve the dtcs for any clues. But I could fill a 50 gallon barrel with all the throttle bodies I've replaced.
RepairPal Certified shops can diagnose and repair your 2012 Nissan Altima. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.
Full scan test required, also live data can be examined to determine throttle response between the accelerator pedal position and the throttle body position .. Too many possibilities .. Got to be tested!