Smoking meat with wood from an oak wine barrel

Possible? safe?

Can’t see why it wouldn’t be fine, I know they sell wood chunks from whiskey barrels for the same purpose.