No. The only code commonly cited for the first Battlefront is jub jub, which shrinks your character rather than making you invulnerable.
If cheats are what you are after, Battlefront 2 is the better target — it has a far larger set of them.