Yeah, I've used that for end caps, since it works great for attaching silicone to silicone. But I'm not sure it sticks well to anything else.
Edit: Website says it "secures glass, metal, plastics, fabric, vinyl, weather stripping and vinyl tops", so I guess it will stick to some other stuff...