Repeat offenders convicted of alcohol-related crimes will be forced to wear ankle tags that monitor their drinking, under a new pilot scheme.