There is no general licence for a "construction worker". There are specific licences for things like "tower crane operator", "intermediate rigger", "advanced scaffolding erector".
Similarly, there would never be a general licence for "programmer". But some day there probably will be (and indeed probably should be) specific licences for things like "have back-end access to personal medical data", "modify source code of nuclear reactor control software", and "install networking hardware via which credit card details are transmitted".
It's not about creating a barrier to entry for a whole profession. It's about licencing people to work in specific situations where there are specific risks, such as privacy risks, public safety risks, and risk of fraud.