The use of the expression is quite natural here, but there's a logical conflict with your described intention. There are two scenarios here: (1) You yourself change your (routine) to fit the plan, as you find it necessary. (2) You change the plan to fit the conditions.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.