You can absolutely use a different cheese if you prefer, but Parmesan is one of the best cheeses to pair with the flavor profile of the roasted green beans. Cheddar will give a sharper, more contrasting taste. Goat cheese is a good option, though, it can be expensive and it is a unique flavor for those who are unfamiliar. Swiss or Gruyere would also be good alternatives staying within the rich cheesy flavor realm. The closest Cheese to Parmesan would be grated Romano cheese. You could also use a non-dairy alternative for our lactose intolerant and vegan-friendly eaters.