On the one hand, population decline, to the extent it’s a problem, was already a problem before AI and the internet came along. Any policy response that doesn’t address the economic causes will be a failure on its own terms.
On the other hand, governments do stupid things all the time, so yeah, sure, why not? Enforcement could be a challenge though.