Not if it was done right and the same for drugs. Again let us look to the Bible and see where we have gone wrong.
"So you shall put away the evil from Israel. And all the people shall hear and fear, and no longer act presumptuously." Deut. 17:12-13
Yet, any penalty executed through American courts is not much of a deterrent. Wise King Solomon 2,900 years ago explained why this is so:
Because the sentence against an evil work is not executed speedily, therefore the heart of the sons of men is fully set in them to do evil. Eccl. 8:11
When a murderer/drug dealer/pornster is executed/sentensed, three appeals and 12 years after his crime, society has largely forgotten about him. His death/prison sentence has almost no deterrent effect on crime. Further, a life sentence cannot be executed speedily. The swift harsh penalty deters crime.
Put a few porn people in jail, swiftly publically hang a drug pusher, line up a row of child molester and shoot them dead, that will be a deterrent. Anything less is a joke.
We can speed things up in one of two ways: multiply the size, and therefore the cost, of the court system manyfold; or do away with many of the procedural safeguards against punishing the innocent and protecting the Constitutional rights of the accused.
Which do you advocate?
Your ideal is sounding more like Saudi Arabia and Taliban Afghanistan with every post.