Yes changing up your work out routine and diet will prevent you from hitting a plateau. I rarely ever do identical workouts, simple changes to technique or different exercises prevents you gaining too much muscle memory and causes your body to continuously get better.
Mixing up different exercises is great, and so is adding variety to your diet. make sure during the switches you are still eating clean, and challenging yourself during workouts. if something becomes easy, try making it harder. good luck :)