This is technically correct but in practice you might run into errors with the code merge (when a mod is applied). Questarray uses nested {} and that is a known problem area for the merge, leading to unpredictable results. My code contains a way for a mod to include new quests without changing the questarray definition.
Just replacing repeatable_quests.gd will not cause this problem of course as (the program can't see the old version and) there is no code merge.