The answer is no, Rachel Zegler did not act in a Broadway musical. She did act in a movie musical, West Side Story, which was based on the 1957 Broadway musical. However, she did not actually act in the Broadway musical itself.
Unveiling Rachel Zegler: Discover the Rising Star of American Cinema