Yes, if you are lying to the business claiming to be the employee in order to get the discount that is fraud, for which you could both be prosecuted and sued.
If the employee whose identity you are using is in on it and the employer does not allow the employee to share the discount with others then both of you are potentially subject to criminal prosecution and being sued. And, of course, the employee will almost certainly be fired when the employer finds out.

