Yes, Napoleon favoured Louis in the French Army. Louis was his favourite son, and he wanted him to have a successful military career. Napoleon gave Louis many important military commands, and he even promoted him to the rank of Marshal of France.
From Emperor to King: Unraveling Louis Bonaparte's Reign