The process is legal I'm sure, but involves dishonesty. The dictionary definition of dishonest being 'not being honest.'