For a hands-free alternative, you can caramelize the onions in the oven or in the Instant Pot.