I tried taking it for IBS for that reason.
It worked! Kind of. The first few days after every dose it had the opposite intended effect so it wasn’t worth it.