In a literal sense, yes that is what the word ghenna refers to. The useof the word in reference to the afterlife is different.
Per Anchor:
And
There have been several words replaced by Hell in translations (such as sheol), but they commonly all refer to places where things go after death - as opposed to ascending to heaven. It's worth noting that Gehenna was used to burn not only garbage but also people who died from diseases, and criminals - hence the reference to the "place" where the "wicked" go.