Depends on what "agile" means for you, term is so perverted now you can't make any assumptions about what people think it means. Agile says working software over comprehensive documentation, so documenting things before you write the software seems to go against that.