The technology can be developed, and it's only logical to ensure the safety of society.
Society is safest when there is the least intrusion into people's private lives.
What you propose is totalitarianism, and it's probably because you are naive and don't really understand human nature.