No. You will not be able to attach such a document preemptively with an electronic filing in the online program. You would need to paper file your return and add such a document with the filing. However, the IRS frowns upon receiving documents that they don't specifically request and there is even a chance it would be discarded before processing.