Adding an affiliation to an accepted paper
Yes, you can make this change. The easiest way to do it is to wait for the journal office to send you the proofs. If you're worried this might be too late, you can also contact the journal office directly.

Don't email the editorial board because their role is over (they handle peer review, and this is not a peer review issue).