For the best texture, cook and crumble bacon before adding it to uncooked meatloaf, then bake the loaf. If the bacon is raw, the flavor will be there, but it'll be mushy.