Could he have done anything else though?
Actually, he could have done things a lot differently. But they wouldn't have worked out so well.
His first 2 discworld books were set in a pretty stereotypical medieval Tolkein-like fantasy universe. They were, largely, a parody/satire of fantasy tropes.
So they had to be pretty straight fantasy worlds, including male domination. "Wokifying" them by not having women treated as lesser than men might have been possible, but wouldn't have made much sense for the sort of scattergun stuff in those Rincewind books.
But after that, it seems he realised what he could do with what he started from. He could use that world as a starting point, then proceed parody most of recent human history, and a fair few cultural artefacts along the way. But that still relied on starting from a broadly-accurate medieval starting point, so you could actually work through societal change.
(There's a reason many/most Pratchett fans will tell people to not start from the beginning - the first 2 books are not representative, and far from the best. Mainly useful as worldbuilding background, but even then, they're not that important. I started at Soul Music (#16), as I recall. Not bad. Book 4, Mort, is probably a great starting point for those who would normally like to come in from the start, but 3, Equal Rites is more on topic for this forum. I just think the style hadn't quite settled yet.).