I've used a strategy like this in the past, but as the short-sprint roles pile up, I find that one develops a bit of a resume problem.
If one lists the positions and dates on one's resume, recruiters/interviewers notice this and regard the applicant as flaky and noncommittal. They don't want to invest in someone who will jump ship after a short stint.
If one doesn't list those positions, it's hard to prove experience, and creates the appearance that you've struggled to find work, which can be a red flag.
So, I think that works well for younger folks, but I'm in early graybeard territory, myself.