I agree with other answers here that laxatives are very harmful if used for anything than their intended purpose, especially if used over extended periods.
Additionally, perhaps the greatest motivator to resort to using laxatives to lose weight (or resort to anything unhealthy) is that feeling of desperation. Desperate to lose weight because it seems so overwhelming to address, with feelings about being unsure that one can do it.
Addressing that desperate feeling will go a long way in helping you to choose a sane, rational, healthy course of action, that will keep those desperate feelings away, and empower you with knowledge and experience to manage what you once thought was too overwhelming.
The best way I know of to relieve desperate feelings of how to lose weight is to realize that there are several very healthy, very successful plans for losing weight, and you have very good options of choosing things that absolutely will work, and empower you to be successful.
So the odds are stacked in FAVOR of you losing weight, AND retaining your health, when you look at it from this angle, instead of feeling overwhelmed and desperate.