Can I have splices in an electrical panel?
Yes, you can have splices in the panel to extend wire to reach breakers.

What you cannot do is have splices where a wire enters the panel, is then spliced to another wire that exits the panel.