Yes, definitely. In our perfect world, our flags would be rolled so they don't have creases from folds. Still working on that one.
It helps to know your flag's material, but ironing with care will make your flag relax and fly with pride.