I have done that both as crewmate and impostor, as impostor, I go to medbay, and as I am going, I sabatoge something then go to fix it. Most crewmates don't think that you're not the imp if you just say you have a visual. Also, I have watched people scan as imp and killed when it was convenient.