Of course. Just don't buy back within 30 days of your sell so that you don't have a wash in your hands.