Yes and no.
For me it's more the ritual of wearing the appropriate costume: it provides time to enter the role, just like acting.
Going to job-job? Put on job-job costume, mentally rehearse that character. Going to makerspace? Put on work clothes. Going to a Spartan Race? Put on the "ERMAGERD I ATHLETIC" gear.
For me it's less about the actual clothes and more about the mental reset. That said, peoples' reaction to appearance does subtly influence mood, attitude, etc.