Can 12v 3-12A battery power safely mega 2560?

If you want to use the 5V output of the Mega to power other things, be aware that the onboard voltage regulator can't deliver much current as the voltage difference multiplied by the current needs to be dissipated as heat and there is virtually no heat sink