If it's something you really want to do, then do it. I don't think a single marathon when you're 29* will do too much damage.
If you were starting from a low level of fitness or you wanted to do five a year I think it'd be worse.
Having said that I know almost nothing about marathon training, so I'm not sure if 2 months is long enough to prepare.
* Guessing your age at random