Yes. Caramelized onions can be stored in the fridge for up to 5 days. Keep in mind that they taste way better when served warm, so I highly recommend reheating leftovers if you're able.