Scanning a document and Attach it

Hello, someone knows if it’s possible make an attachment, in a notes document, directly from a scanner digitalization, thanks for all the help you could give me.