Yes.
The best way to do it would be to set up a Gmail account, then add that account to your iPhone, then back up all of your iPhone contacts to your Gmail account.
Then when you set up your new Android phone, your contacts will already be associated to your Gmail account, so you will not need to import any contacts during or after the setup. You just have to enter your Gmail account during setup and it will sync all of your contacts automatically.