Sweet potato is among the best nature's fruit to produce fiber for our stomach - it's no harm to try and in fact taste so nice and sweet. I use to eat sweet potato when not eating vegetables as supplementary fibers and it works really great especially when having bloating stomach or constipation. However don't fry but just boiled them in hot water until soften - the water it absorb during the cooking also helps to aid in the digestion process.
Apart from that sweet potato is also much cheaper compare synthetically produced drugs and it works as good. Even though it might not work for you just give it a try - no harm. Another great fact about the sweet potato it contains at least 14187 IU of vitamin A reference http://med4living.blogspot.com/2014/12/multivitamin-natural-food-source.html