No, but they do regulate who is selling it. You can't find a cruise ship without life preservers on it - even if you really want to, and you're all about raw water or whatever.
The issue with raw milk isn't random people using their own cows to drink raw milk. The issue is people selling it en-masse. They will lie about the dangers, ensuring their consumers are as uneducated as possible, and then certainly sweep the predictable deaths under the rug.
If you truly don't believe me, go ahead and look at raw milk influencers. When I say they speak almost exclusively bullshit, that's not an exaggeration. Typically they engage in all forms of pseudo-science. Crystals, alchemy, anti-vax, you name it.
These people aren't trying to be honest about the dangers. They live in a parallel universe with different rules.
It's not protecting people from themselves - it's protecting consumers from those who would kill them for a quick buck (i.e. pretty much any anybody if they could get away with it)