The government does this all the time. How do you make people stop smoking?
Well, you tax or fine the certain action so much that eventually the people decide it isn’t worth partaking in a particular activity.
Or sometimes you can give them incentives, like tax breaks.
Or they get whatever by means of bypassing govt penalites and punishments.
It’s like raising children. The benefit of compliant behavior has to be more desirable than the consequence of non-compliant behavior.