I mean, I do that all the time when they ask me to print something, sign it, and then scan it.

Sign a blank paper, scan it, paste the original doc on it. Then keep the scan for future docs.

An easier trick I've used is just sign directly on the computer screen over the displayed document with a whiteboard marker and take a photo with my phone.