With weight or bodyweight? 20 sets is a bit much.
Weight.
This current program I'm following has been mixing this stuff in.
Some weeks would have a cadence like this:
Squats: 3,3,3,3,3 Work to a 3 rep maximum over 5 ets
Others have the one I listed. The caveat is they want you to pick a weight you can start and use the entire time. So it's not a max. I don't know the math behind it either, but I remember Simmons advocating for say, box squat, 10 x 2 every minute on minute....It's just some kind of volume play.
I actually liked the cadence. Hard, but didn't bury you with your heaviest stuff.
It was most fun on bench, least fun on rack pulls.