To enhance the flavor of grits cooked in a rice cooker, you can add ingredients such as salt, pepper, butter, cheese, and even spicy ingredients like Tabasco or meat products like sausage, bacon, or eggs. These additions can provide a delicious and savory taste to your grits.