It would seem to be a darned good way to get yourself shot.
Cops fire immediately if the object in the hand of the suspected perp even RESEMBLES a gun, even if it is a cell phone or ball-point pen.
Holding up a convenience store a block from the cop shop with an Airsoft. Cop didn't even get all the way through the door when she pointed it at him and he dropped her.
Turns out, her mother was a prominent Gynecologist in the area. She and her "life partner" issued a statement within a couple days admitting the girl had mental problems and wanted to off herself before. They even apologized to the cop for having to be put in that situation.
But the young cop still killed a teen girl with a toy gun and he has to live with that for the rest of his life.