IIRC a lot of the smell comes from waxes and compounds similar to turpentine (terpenes sp?) so in theory I guess they could be extracted and used legally as they wouldn't be psychoactive.

Just daydreaming though......

Edit: Link & (Technical) info : http://links.jstor.org/sici?sici=000...H%3E2.0.CO;2-L