Yes, other people can locate you by sending you a text message via SMS or a chat platform. They might send you a malicious link, set up a covert app, or use phone company data to triangulate your location. The ability to track your location using a text message is, however, much more difficult.