In the following article at The Volokh Conspiracy.
It uses some of the pretrial restrictions placed on individuals charged for their activities January 6th at the Capital as a jumping off point on what the government can and probably can’t restrict people from doing. A pretty good read if you’re interested in the subject.