So basically yes, splices are FINE in a breaker panel. And, in fact, they aren't uncommon during box replacement, when getting a clean layout may require a few splices. Splices in the panel are also common when installing transfer switches for generators.