Yes, the sentence "Do not ever hesitate to cut toxic people off." is grammatically correct. It means that you should not feel reluctant or unsure about removing people from your life who have a negative influence or are harmful to your well-being.
The second sentence, "If I’m toxic, please cut me off!" is also grammatically correct. It expresses a willingness to be removed from someone's life if the speaker is perceived as toxic


