Don't know about the castor oil part, but a heating pad can sometimes help get the mucous moving up and out. Postural drainage usually works better, though and you can use heat with that.
I have heard of this method. This is from Edgar Cayce's Remedies. However I have never tried them out.