Yes, as far as standard LEGO goes. The chainsaw piece is a normal clip-on accessory, so any other bar-sized element such as a lightsaber blade or an axe will fit the same attachment point.
The only caveat is that this is a physical modification. Nothing in the game's own customisation menu will let you do it, so you need the actual bricks in front of you.