There is a lot of ambiguous and misused terminology in cooking... added to that, different countries have specific legal definitions for foodstuffs that vary from one jurisdiction to another.
Gammon vs. Ham
Some sources call it gammon if it is raw, while others claim gammon differs from ham because it is cured with the belly and then detached, whereas hams are detached from the rest of the animal and then cured (a nearly useless distinction); also the words gammon, ham and bacon are sometimes used interchangeably. In the US we call it ham when it is cured, whether it is cooked or raw; and we call it fresh ham if it is uncured (We pretty much call anything from the hind leg of a pig ham).
Fresh vs. Raw vs. Cooked
Raw does not mean that no processing has been performed, it just means that it hasn't been cooked or the proteins haven't been denatured chemically. Curing, smoking, marinating, freezing, and drying, and milling can all be performed without cooking.
Generally, "Fresh" means no processing has been performed. In the US and UK, the term "fresh frozen" has gained a foothold more as a marketing term than actually providing useful information.
There are a number of cured hams that are eaten raw and are safe. For example prosciutto, jamón ibérico, jamón serrano, and some country hams in the US. Most of these are dry cured and may or may not be smoked.
Types of smoking.
The more commonly known type, and what most people call "smoking", is actually hot smoking. Hot smoking is what happens when the item being smoked is kept in a smoker at a temperature high enough to cook the item, usually in the 225-250˚F/105-120˚C range.
The other type of smoking is cold smoking. During cold smoking the smoker or smoking chamber does not get hot enough to cook the item being smoked, usually 100˚F/38˚C or lower. This type of smoking used to be much more common as an added protection and flavor for cured foods as well as food that are more delicate. These include gammon/hams, fish, cheeses, bacon, and seafood. Just as many foods that were previously dry cured are now wet cured, many of these products are now produced industrially using "wet smoking" or smoke flavor additives instead of cold smoking methods.
As with cold-smoked meats, some "wet smoking" yields a product that is technically raw, because its proteins have not been denatured by heat. Instead, liquid smoke or smoke flavor is added to the brine or applied as a coating before cooking.
Cold smoking has had a bit of a resurgence lately with the invention of smoke guns, which allow you to add smoke without the need of a large cold smoker.