Would this be for file cleanup?
Would you want the routine to put the entities back onto by-layer properties once it is done? If I am reading this correct, you have someone who is drawing everything on one layer and just changing colors to achieve plotted weights.
I would say it is very doable, because doing it the long way via quick select you are able to do what you are asking. I don't have the knowledge but my vision says it could be done...
Pieter