Are jazz guitarrists able to play a song in a “solo guitar” setting without arranging in advance, just from a lead sheet?

I’d appreciate any advice from jazz guitarrists on how to develop this skill.

As a beginner guitarrist, I can appreciate the craft that goes into playing a bassline, chord melodies, all at the same time on just six strings, while also stablishing a groove. It would blow my mind if people can improvise all that on the spot.