It is not. Yeah you loose weight, but the disadvantages are greater: you loose a lot of vitamins (especially B1, B6, B12, A and D), which gives you problems with sleeping, kognition (observing, thinking, reacting), heart rythm, pain, vision ... all within a few weeks before you loose weight and before you realize that you have a tape worm. Some of those critters are also more dangeros in some less than appetizing ways ... cause anemia, infections, liver damage. Also they have a tendency to spread in the family - and you do not want your kids to have them.
So: if you are single, live isolated, take a lot of supplemental vitamins, exactly know your worm and want a cure which will only last a few month ... just don't do it!