Offenders could face punishments similar to those for vaping, with clearer guidelines for schools to tackle misconduct.