They last a lot longer on sails, so I would assume they would last just as long on flags. Mind you this is just my opinion.
However, a sail is not consistently displayed, where a flag is. A sail also holds steady where a flag is battered against a pole. But it may work.