Sure you can....
get your visa before applying CPT. Because IO will be able to know you are
applying CPT becuase your school need to input some information into SEVIS.
Why bother to get CPT while you are not in school. It is so easy to get
after you come back....