Yes, rifampin can be used for prophylaxis in certain situations. For instance, it is often administered to children who have been in close contact with individuals diagnosed with _Neisseria meningitidis_ to prevent the onset of meningococcal disease. Similarly, it can be used to prevent _Haemophilus influenzae_ type b infections in high-risk populations.