is a can of worms a source of trouble

Yes, a can of worms is often used to describe a situation that, once opened or introduced, leads to a host of unforeseen problems or complications. This expression implies that delving into the issue will create more trouble than originally intended.