Yes, definitely, it can be made with yellow onions, which are typically less expensive and more readily available. I wouldn't use red onions or white onions in this recipe though, they will change the color and the flavor too much.