Yes, SMS marketing is legal but highly regulated. You must obtain explicit consent from customers before sending marketing texts, and you should provide an easy way for them to opt-out.