I don't see why not, most of the bacteria colony formed during the cycling process will be building up in your filter, which will be unaffected by this.
At the end of the day it's better to do it now than when the fish are in the tank (if your doing fishless cycling??), or not ever putting it in and looking at the tank wishing you had done .