as / when / if you feel like it
as / when / if the spirit moves you
I'll go for a run this evening, if the spirit moves me.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition