"People" here means women, and womens' rights are a very recent thing in world history. With a sufficiently evil and authoritarian government, it might be possible. It certainly has been tried in the 20th century: https://en.wikipedia.org/wiki/Cross_of_Honour_of_the_German_...
So 'motivating' people to have more children is rather the opposite of evil, though obviously some means can be more or less ethical. In the short-run children are an economic burden, but in the long-run you have complete and catastrophic collapse, in all ways - including economic, without a surprisingly large number of children. The government that takes short-term wins in exchange for accepting a long-term collapse of a civilization is failing society in every single way. I still don't know if I'd call that 'evil', but it's certainly far closer to it than one that looks to ensure that there's a next chapter for the civilization that it's supposed to be the leader of.
Another way would be to fine companies and local jurisdictions if their average number of children per employee/resident is below 2.1 or whatever, similar in spirit to Japan's 'metabo laws.' You could also require companies prioritize employment, beyond a minimal standard, based on the number of children per employee, and so on.
There's a difference between "it would be evil to" and "it is impossible to".
Barring medical issues, it is absolutely possible force this. There's even some jurisdictions where it's not a crime.
If I read these two maps right, China's the only place, out of those where marital rape is not a crime, that abortion is not also prohibited:
- https://en.wikipedia.org/wiki/File:Marital_rape_laws_by_coun...
- https://en.wikipedia.org/wiki/File:Abortion_Laws.svg
(That said, I don't know how up to date such maps are, and have no way to verify laws; don't suggest machine translation from Chinese to English, it is bad).