No, this is not okay. Self-induced vomiting is generally a sign of bulimia, which would require psychiatric treatment.