Motorists in England, Scotland, and Wales could face a driving ban, jail time, or an unlimited fine if they drive after taking some legal medication.