Preheat oven to 350°F; grease a 9x13-inch dish.
Squeeze shredded zucchini in a clean kitchen towel to remove as much moisture as possible and prevent a watery casserole.
Melt butter in a small skillet over medium; sauté onion about 5 minutes until soft and translucent.
Mix rice, squeezed zucchini, onions, soup, sour cream, 1½ cups cheese, salt, pepper, and garlic powder in a large bowl.
Spread evenly in dish.
Top with remaining 1/2 cup cheese and optional panko for crunch.
Bake 30-35 minutes until hot and bubbly with a golden-brown top; rest 5 minutes before serving.