You do realize that this is immensely privileged and something that 99% of working devs can't do right? Especially the bit about making calls and instantly getting a job, that's something even famous engineers can't get too.
If you have worked at a few companies and left on good terms, it shouldn't be that hard to contact them so you can go back. Otherwise, previous co-workers will be able to help out as well.
Getting back to work was as simple as making a few phone calls essentially and exploring my network. Granted, it was a different time (decades ago) and I didn't look for a mega corp job that requires arduous interview process.
Since then when changing jobs and interviewing I've only ever been asked once about those "gaps" in my resume and I said that I took time off to travel and explore and was greeted with enthusiasm only.