This sounds like a book that's written by multiple authors.
I'll start by saying that, while I understand what they are trying to say, I, personally, as a speaker of AmE, don't think it's a particularly sensible statement.
Coalesce means:
come together and form one mass or whole.
So, it would literally mean:
opportunity came together
What the author here is trying to say is:
We finally had the opportunity to write the book because none of the issues preventing it were in the way any longer.
This is emphasized by mentioning the fact they'd been planning to write the book for years.
When they use the word coalesce, they're meaning to imply that, through some combination of effort and luck or chance, they were finally able to meet up to write the book.
This page on the ELU SE discusses a variety of more common phrases that mean the same thing, like "it all clicked into place" or "the stars aligned".
Here is an example of how the phrase is more correctly used:
Interest, need and opportunity coalesced into an idea...
(From Entrepreneurship As Social Change: A Third New Movements in Entrepreneurship)
This phrase is very different. It has three things, interest, need and opportunity and they are coming together, or coalescing, to create an idea.