Yes, you can add sugar to salty rice to neutralize the saltiness. Adding sugar can help balance out the flavors and make the dish more palatable. However, keep in mind that adding sugar will also add sweetness to the dish, so you may want to start with a small amount and taste as you go to avoid making the rice too sweet. Another option is to dilute the saltiness by adding more unsalted rice or other ingredients such as vegetables or protein.