ALL behavioral legislation is an exercise in legislating morality, and a threat to punish those who behave immorally.
Speaking is also a form of behavior and saying the wrong thing is also a form of misbehaving or being immoral. Most people, however, would point to the first amendment. Not sure how restricting social media as it is currently used does not grossly infringe on someones right to free speech. Do you not see that as a conflict in any way?