No. Legendary Pokémon can't hatch from eggs. The only way to get them is t trade or wait for an event. There are a few that are triggered via your team leader's missions, but not Dialga.