No they don't hatch.
Chat with our AI personalities
Currently in the Vanilla release, dragon eggs do nothing, and are primarily used as an ornament.
The eggs do not hatch, they are there for no particular purpose but can be collected and brought back to the overworld for use as decoration but will never hatch. To bring it back you need to activate a piston to move it or place a torch under it. It cannot spawn another enderdragon but it can be used as a trophy or decor.
Use eggs.
The data value or item ID for Dragon Eggs is 122.
To collect a dragon egg you need to push it with a piston, and then it will drop as an item.