I know you can say things like:
The only whiff of disorientation came from the hundreds of eggs littered around the stage [...] The only whiff of homophobia came from the Library's old-fashioned internal printing shop. [...]
These are usually abstract concepts (I may be mistaken). Is it common to use the same construction to refer to something physical like a class?
Example:
The only whiff of chemistry class came from the periodic table next to the window.
(There wasn't anything in the classroom that told students that that was a chemistry class, except for the periodic table next to the window.)