I don't think it's possible yet, but I think this will need to be added at some point. Do you have a good idea for what you'd like this interface to look like?
Not sure how separate is ContentScript from Plugins but maybe something like postMessage / onMessage would be sufficient.
Also, this way of coding would be consistent with how messaging with Panels is implemented.