The phrase "provided the opportunity" is correct and usable in written English. You can use it when you are referring to a situation in which something is made possible, or when discussing the results of an opportunity being provided. For example: "The conference provided the opportunity for young researchers to present their work.".
The gallery's transformation has provided the opportunity, he said.
But this only provided the opportunity for parliamentary defeat.
"They can do that now that the issue of Afghanistan has provided the opportunity for dialogue.
On occasion, she said, his living arrangements provided the opportunity for some commentary.
This case provided the opportunity for an erstwhile toothless regulator to bite back.
Operation Yewtree provided the opportunity for the victims to come forward.
The university-based Warwick Arts Centre previewed the film, which provided the opportunity for the interview.
Since I tried Ludwig back in 2017, I have been constantly using it in both editing and translation. Ever since, I suggest it to my translators at ProSciEditing.
Justyna Jupowicz-Kozak
CEO of Professional Science Editing for Scientists @ prosciediting.com