General election 2019: Can the UK ban live animal exports after Brexit?

Boris Johnson said under EU law "you cannot ban the shipment of live animals". Is he right?

Source