Yes. What we have right now in some jurisdictions.... Using New Brunswick as an example, there is a municipality in New Brunswick where they've created a bylaw to avoid having, perhaps, young people who are in university ending up with a criminal record because they ended up fighting in public when they came out of a bar. They created a bylaw to address that.
There is nothing wrong with addressing that through a bylaw, but it still needs to be captured as a criminal offence.