Whether or not it is acceptable for governments to alter the behaviors of the people being governed depends, in large extent, on the specific behaviors being addressed and changed.
In the United States, most state governments alter the behavior of persons driving vehicles on public roads by enforcing speed limits, requiring seatbelts, and increasingly prohibiting texting while driving. These are regulations that are implemented by the government, supposedly to protect the public from accidents and injuries. Most individuals obey these laws as being acceptable restrictions upon their behavior while driving.
If the United States government attempted to establish laws regulating the number of children a family was allowed to have, on the other hand, there would be widespread disagreement with that attempt to change behaviors having to do with family planning.