Sure, just do it with your own money, not company money
I'm not going to do a diversity spiel, but I have had the "would be nice for our team to have different kinds of people" discussion before, and part of solving that can involve more focused recruiting efforts (including stuff like sponsoring those kinds of events). It's totally a work-related thing. Why would I pay out of pocket to help my company hire?
so if you have a business case for recruiting different kinds of people (who currently don't get recruited), then that's not a political agenda. If you can point to evidence that the recruitment team is missing out on great candidates because of some systemic mis-identification.
But if you are suggesting that it would make the world a more equal place to hire those different people, even though they currently would not be hired, then that's not a great business case, and thus, becomes a political agenda.
It's something that most tech companies would be willing to sponsor, not political at all.
Basically some people see affirmative action of any kind as anathema, and they get angry and insecure when these things are suggested, and people respond in turn. So I see how this could become a source of conflict.
If the latter, you’re kinda proving GP’s point. Django Girls is an ostensibly non-political organization, politicized solely because it acknowledges an aspect of people’s identity.