It will impart flavour but we're talking years not weeks or even months.
And not during primary fermentation - tannin inhibits bacterial or fungal activity hence it is used to tan leather etc
You are going to have to use loads to get flavour. With wine it's either small new barrels for a few months or a year or so or big barrels for many many years. Spirits are different because the alcohol is a solvent that relatively quickly dissolves the flavour compounds from the wood. It is often left for years in wood because wood is porous and allows for concentration of flavour.
Soooooooo..... quite a complex topic.