Yes, if the OS supports it.
As it happens I saw some OLD Windows code once which allowed a 16-bit real mode DOS program to send information to a 16-bit protected mode Windows program, through the clipboard... "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."