Yes, it can work on the other material also, but it may not give the fine result as it gives on the RVs. So, it is important to note that not all the RV sealant cam work on the surface made up of all types of material.
Also, the sealants are designed in such a way that they can perfectly work on the material of RVs such as bathroom tub. You may consider the instruction manual inured with your RV sealant to check if it can seal the materials other than the RVs. As it depends on the type of caulk, so you must use the caulk for the other materials.