Although your hamster should be fine if it is strong enough, it is a dog's grinding stick, which may contain crude fiber, nutrients and things that hamsters can't eat (although it can't be seen).
But hamsters are really fragile, so don't take the risk for your hamster's health. ...
I don't expect anything in return, I just hope I can help you ~