I've done that at least half a dozen times on my Desire. It would be nice if the "flag" button were off to the side, away from the other links, or if there were a dialogue to confirm your flagging. Or if there were an "unflag" button.
Uh, there is: when you click on "flag" it turns into "unflag", and when you click on that, it turn back into "flag".