A stupid (as in, not intelligent) analogy.
Bomb laws don't stop bombers. You CAN buy hardware store ingredients and make a bomb. Most people don't do such things.
The point of the bomb law is so when they get a tip and raid someone's house and find a few bricks of C4 wrapped in nails with a clock attached, they have something to arrest him for rather than saying 'we have to wait until you use this to hurt people'.
But that's also because that bomb has very few legitimate uses. There aren't neighborhood bomb ranges where people go to compete and practice. You can't use a bomb to hunt or protect yourself from 4-legged predators when in the woods. There aren't bombing tournaments. You can't use a bomb in self-defense or to protect your home or family. There ARE legitimate uses for bombs in mining, agriculture, industry, etc but those are uncommon and thus highly regulated.
A gun has many legitimate uses, and tens or hundreds of millions of law-abiding Americans use guns legally every day. Neighborhood gun ranges host classes, practice sessions, and competitions / tournaments. Guns are used for hunting and defense from predators in the woods. A gun can defend your home and family from intruders. And a small concealed pistol can be used to defend against street crime.
It will be interesting to see that tested in court. I don't think anyone would complain about for example a pencil sketch of a naked celebrity, that would be considered free speech and fair use even if it is a sketch of a scene from a movie.
So where does the line go? If the pencil sketch is legal, what if you do a digital sketch with Adobe illustrator and a graphics tablet? What if you use the Adobe AI function to help clean up the image? What if you take screen grabs of a publicity shot of the actor's face and a nude image of someone else, and use them together to trace the image you end up painting? What if you then use AI to help you select colors and help shading? What if you do each of those processes individually but you have AI do each of them? That is not very functionally different from giving an AI a publicity shot and telling it to generate a nude image.
As I see it, The only difference between the AI deepfake and the fake produced by a skilled artist is the amount of time and effort required. And while that definitely makes it easy to turn out an awful lot of fakes, it's bad policy to ban one and not the other simply based on the process by which the image was created.