Does this exist? (magnetic base flexible flashlight holder)

Working on cars on a daily basis, I’m regularly having to wedge or prop my flashlights into position to facilitate use of both hands whilst carrying out repairs.

You often see the facility to attach a mini tripod, but what I’d like, if it exists, is a gorillapod style flexible mount with a magnetic base for use with my 504b.

Has anybody seen anything like this, or will I have to make one?