Many people zoombombing are likely kids who don’t know any better, their OpSec is probably pretty poor.
/s
Given reasonable handling (i.e. no actual prison sentences): yes, it does indeed sound like a net positive on society if a bunch of 12 year-olds learns to know better that stupid shit can have real, serious consequences.