savescumming is the easiest way to do this, otherwise you wont get the required glory and napoleon favour or even the assisting stats possible to get to marshal after egypt
for infantry (easier to get to marshal since you participate in all the major battles directly):
i recommend before italy campaign that you are atleast captain (to get all the possible glory and napoleon favour), chef de bataillon is okay for money but i dont think its needed
(i also recommend to not be at 60 napoleonic favour after lodi. since if you do, then napoleon will send you to escort his wife. although you can win some glory for holding the town during her escape, i dont think its as much as when youre being sent off to mantua)
then if you 'accidentally' divert to assist with the bridge crossing at arcole you get instantly promoted to chef de brigade at the end (even if youre captain)
before egypt, use the dego favour to get promoted to general de brigade, then you'll be promoted to general de division once you return from egypt
if you have high enough glory + napoleonic favour, then you get 1804 marshal, idk the exact number but 500 glory + 100 napoleonic favour is a given
i havent tried getting 1804 marshal for cavalry mc yet since that requires sinking to discretion early (not really worth it in my opinion, even if you start with it)