Yes, Vidocq served in the French military from 1792 to 1796, and was wounded twice during his service. He rose to the rank of captain, and was awarded the Legion of Honor for his bravery.
Unmasking Vidocq: A Detective's Journey Through Crime and Justice