Most victimless crimes have literally no victim. There is no victim without some sort of harm. The reason we have speed limits and drugs are illegal is because if you go overboard enough with them there is a high likelihood of harm. In the vast majority of cases people don't go overboard and there is no actual victim though. These things are crimes because our system of justice is not good at punishing people for "going overboard" with the consistency and fairness we desire.
Are very different reasons.
Drugs are illegal because of big alc biz lobby, religious interference and orchestrated mass hysteria. The effect: the police can target any group, search them hard and lock some up because "drug". If the police would search hard in Beverly Hills they'd also find a lot, but they choose not to. It gives the police the power to hurt any group they choose because we all do drugs.
Speeding is an offense because it causes harm to others in some cases. Also there is an environmental impact. You choose to roll your car in public roads, you need a license, a proper car and to follow the rules. Cars can be seriously dangerous for other people on the roads. And it is in most cases "an offense"! Not a crime. You get a fine, not a jail sentence.
It’s the reason that shooting a shotgun down a busy street is (and should be) a crime even if you don’t hit anyone.
Also, many violations of regulatory requirements are “victimless” but are entirely necessary cooperation for things to work properly, or to prevent consequential harm. Particularly for things where shared resources are used, like spectrum, roads, airports, the air we breathe, etc.
Who is hurt when I blow a little bit of lead dust into the air? Probably no one, and certainly nobody identifiable. Who is hurt when everyone blows lead dust in the air? Potentially many, and still likely unidentifiable.
Why, when an act exposes multiple unnamed people to a risk, do some call it a "victimless" crime? Just because it's difficult to identify those exposed to a risk doesn't mean that people haven't been placed at risk.
If you share the road with a drunk driver but they crash into someone else are you a victim? Does their insurer compensate you?
Being exposed to risk does not make you a victim. You need to actually be harmed.
If your brother takes opiods but stops you are not a victim. If your bother takes opiods, gets addicted and ruins your family then you are.
Shooting a gun in the air, speeding, all sorts of unsafe things can have no victim, or they can have a victim depending on how things go.
We don't criminalize these things because they have victims when you do them right. They are usually victimless. We criminalize them because there's too much luck involved and we don't like the odds.
Crimes of endangerment are an exact counterpoint to this. They often do have identifiable victims, in a way that most people would agree.