It wouldn't really do any significant harm to the tank if it were just a small polyp, if it were bigger however it would. I wouldn't just let it sit behind the tank and possibly die, seems like a big waste to me. Just work on getting it out of there.
Rock Anemone