Absolutely.
We saw what happened with COVID‑19. When it hit, people decided quickly that everyone was going to openly share the data and all the information. It wasn't perfect, because some people didn't share their data, but the vast majority did, and that played a huge role in finding ways to prevent or treat the disease rapidly.
It will certainly accelerate the discovery and development of new treatments in medicine and many other fields.