Unfortunately yes, you can be if the gun was realistic enough to convince the average person that it was a real gun. The crime of assault is subjective: the “victim” does not have to be in any real danger in order for an assault conviction to result.