If Sims 3, yes, as far as I remember you just change the Clothing value to the category you want. When you pop up the grid for editing in S3PE it contains the full list of values. (If you ARE asking about TS3 I'll move this to the correct forum.)
If Sims 4, you would change the BodyType value in s4pe, which again contains the full list. However, the mesh (if any) should be updated so CAS will focus on the right section (top, bottom, shoes, accessories, etc.) when you click on the item. A tool like CAS Tools will do that for you when you change BodyType but you'd have to edit one clothing item/set of recolors in in its own separate package at a time. If the incorrect focus doesn't bother you, you can ignore it.
Please do not PM me with mod, tutorial, or general modding questions or problems; post them in the thread for the mod or tutorial or post them in the appropriate forum.