For the most part, yes.
As society, we promote within specific subgroups all the time in addition to opening them up generally. You can't advertise everwhere so you advertise where you believe it to be most effective. If you're rich you can advertise everywhere, but for most groups it is limited; pick two or three radio stations, pick a few billboard locations, pick a few television stations.
The other tricky aspect is choice versus exclusion or discrimination.
Saying "more women in tech" is a tricky issue. There is a difference between "a group wants the jobs but are excluded" versus "a group doesn't choose the job". Governments put out frequent statistics on gender in industries. Early childhood education is dominated by women, in the US currently 98%, to the extent that women prefer it, that's going to be fine. But to the extent that men are excluded, that's a problem. Childcare workers, 94% women currently, same story. Construction worker, automotive mechanics, electric power line workers, all are 99% men at present. To the extent that this is choice, that's fine, but to the extent that women are excluded, that's a problem.
The current US statistic for programmers is 28.7% women, 71.3% men. Just like above, to the extent that this is a choice and women choose the field, that's fine, but to the extent that women are excluded, that's a problem.
Going back down from the field broadly to job marketing specifically, if the marketing group decides that because women are only 28% of the market they choose to market more toward women as an opportunity, that's fine to increase invitations, increase exposure, increase visibility, increase funding, offer more if they want. But the moment they shift from invitation and inclusion to exclusion, that's when it becomes a big problem.