Yes, you can. Although it won't be as good as freshly cooked rice. Make sure to cool the rice completely before putting it in a sealed container to freeze. This will allow the rice to freeze quicker which will reduce freezer burn. Ideally, let the rice cook on a flat surface like a sheet tray, or big plate and then transfer this cooled rice to big plastic bags or sealed glass containers. Sealing the container properly will prevent freezer burn.