Back when cans were made of tin, we used to buy a vending machine can of V8 juice, make about 6 holes with a can opener in each end and secure it inside the pipe with a screw. That was the right size for a Hooker header.
That's the idea, there may be a modern analog item or measure the ID and search google for motorcycle exhaust baffles.