Whilst sharing the concerns about low hour pilots, the regulating authorities (in the UK at least) have defined it as legal. Therefore, it's legal.
I don't like smoking, it kills thousands of people every year (both directly and indirectly) but I'm not calling for it to be criminalised...