Yes, you can experiment with different onion varieties, but yellow onions are often preferred for their mild sweetness when caramelizing.