This is a very simple example of what could be done. However there are many problems with this, mainly that it might be too simple to counter, place a number of scouts in your main base and you will ensure that the enemy cannot see what you're researching, leaving them a high chance to lose. And for gameplay it leaves some people camping and doing mostly nothing but waiting the entire round so it's not a very interesting mechanic. I'm sure we can think of something better. Remember that in RTS games it's usually pretty hard to kill the scouts before they gather the information.