I just watched a documentary on it by a historian called Tariq Nasneed but it sounded kinda... made up?
I googled but the evidence is kinda... thin
This answer from u/sowser seems to have addressed this last time this meme made the rounds 5 years ago: https://www.reddit.com/r/AskHistorians/comments/4vicrb/buck_breaking_of_slaves/?utm_medium=android_app&utm_source=share
Was there sexual violence against slaves (including men)? Yes. Was there public humiliation? Yes. Was there a trend or norm for this particular punishment? Not at all.
/u/Georgy_K_Zhukov has previously answered a question similar to yours