It's certainly possible and Stephen King swears by it. But if it's your first novel, you would be putting unreasonable pressure upon yourself and you would end up publishing a sub-standard piece of work. It would be better to take a bit longer -say six months - to ensure you do the best work possible.