Yes, hot glue can work on some rubber types, however, it might not work so great on certain rubbers that have an elevated oil content or those that contain plasticizers. Also, using hot glue on plastics like polypropylene and polyethylene will not work and the bond formed will not be strong enough.