You don't think the flogging would be done in the market square do you?
Corporeal punishments were not abolished because they are a way to exemplify what is wrong with a society but because they are inhumane. Prison can also be inhumane but you can't successfully attack the prison system by proposing a barbarian alternative, you need to offer a better option and just highlighting what's wrong with imprisonment does not in any way address the underlying issues and those have little to nothing to do with race, even though there definitely is a bias.
Prison is a means of last resort to remove dangerous entities from society for a while and to rehabilitate them, even the most civilized countries have them and for those countries flogging as an alternative is not an option.
The societal wrongs in the USA are not going to be fixed by attacking a symptom, they need to be fixed by addressing root causes:
- poverty
- unemployment
- drug use / abuse & associated laws (treat
drug use as a personal healthcare issue
rather than a criminal one).
All of these are social issues that either lead to crime or that have been criminalized. Only much later in the chain does the word 'prison' appear and unless you address those root causes the prisons will remain.
Provocative, sure. Practical, no and it isn't going to convince any person that still needs convincing.
What will work to convince people that this is not the way is to show the benefits to society as a whole from walking a different path, as long as those that make the decision are not at risk of suffering the consequences of those decisions that is very much an uphill battle.
Once drug users and unemployed people make it to the ballots and get elected you can expect some change in this respect from experience until then you're going to have to convince the elected officials that they are harming societies interests as a whole, which is a far more powerful argument than any medieval style provocative comparison will be able to do. Short term thinking vs long term thinking. What prisons look like and how they function is secondary to changing society so people do not have a large chance of ending in prison in the first place.