Doctor, if with man, moved aimlessly (7)
I believe the answer is:
drifted
'moved aimlessly' is the definition.
(I've seen this before)
'doctor if with man' is the wordplay.
'doctor' becomes 'dr' (abbreviation).
'with' is a charade indicator (letters next to each other).
'man' becomes 'ted' (Ted is a man's name).
'dr'+'if'+'ted'='DRIFTED'
(Other definitions for drifted that I've seen before include "Meandered, floated without direction" , "Moved with the current, floated" , "Moved aimlessly from place to place" , "Wandered about aimlessly" , "Moved around aimlessly" .)