No, used grounds will not create the flavor or aroma you want from a coffee rub.  After brewing, most of the flavor has been released into the brewed coffee.  Fresh or pre-ground is best.