No, it is not permissible for Shavuot. In theory it is possible for Yom Tov. However, regarding Shavuot, we are commanded in the Torah to count forty nine "complete" (temimot) days and that means that one should wait to bring in Yom Tov until it is completely dark. May you be blessed with an uplifting and inspiring Yom Tov!