The closest that we have for Audacity, is to create labels to mark bars and beats, as an aid to lining up audio clips. See this post: Beat Per Minute labels
The label generator plug-in is a “Nyquist” plug-in. Up to date instructions for installing Nyquist plug-ins: https://manual.audacityteam.org/man/installing_effect_generator_and_analyzer_plug_ins_on_windows.html#nyquist_install
A better solution might be to use a DAW (digital audio workstation) such as Reaper, Sonar, Cubase, Pro Tools, or similar, though these tend to be rather more complicated than Audacity.