Yes — wood is naturally porous, so it will easily absorb smells. You can avoid this by sealing the wood properly and regularly.
Don’t confuse wood seal with wood varnish. While varnish can protect your wood, its purpose is to provide a glossy finish. If varnishing your wood, always seal it first for better protection.