I prefer to make my caramelized onions in a big batch ahead of time. I have a recipe on my blog for slow cooker caramelized onions. If you use pre made caramelized onions to make bacon jam, you can add in 1-2 tablespoons of bacon fat to your caramelized onions after you cook your bacon. This will give it a deeper bacon-y flavor.