as long as you do it where you can't twirl the thing into someone it's ok.
A friend of mine did that as a hobby/relaxation 'sport' and she could only do it in an empty baseball field for a long, long time until she got good at it.
There's also artistic dances that use batons with paper trails that is simply amazing to watch.