No. The 2012 film On the Road (dir. Walter Salles) stars Kristen Dunst as Marylou, not Kristen Stewart. The confusion stems from the shared first name.
During that period, Stewart was filming Snow White and the Huntsman and The Twilight Saga: Breaking Dawn – Part 2.