In the multiplayer Conquest mode of Star Wars Battlefront: Elite Squadron, you cannot obtain a lightsaber as a regular soldier.
Lightsabers are reserved for hero characters, so unless you are playing as one, that option is off the table.