Can loop audio while the file is in Audacity … https://manual.audacityteam.org/man/tutorial_looping
but Audacity will not include the loop points in the WAV file metadata which the game-engine needs to loop the sound correctly.
I suppose you could try manually creating the LOOPSTART/STOP fields in the metadata …
But I would not count on that working: Audacity has been known to ignore metadata.
https://manual.audacityteam.org/man/metadata_editor.html