Would it stop stupid kids from doing stupid kid stuff? No. Would it make minors less attractive to organized crime? Yes.
But that doesn't much matter - because deterring other children is not a major motivation for the "sentence 'em as adults!" crowd.
Most other forms of crime, especially violent, are almost completely insensitive to the harshness of any possible punishment sentence.
If a brain is sufficiently broken that it no longer has the limiter against harming another human being, prison sentences won't do anything to fix that.
https://en.wikipedia.org/wiki/Crime_in_El_Salvador
Turns out it works.
Wikipedia article makes no obvious mention of correlation between sentencing and deterrence. Linked article, in fact, demonstrates that alternative programs provided almost all the improvement.