No, Spanish Nationals are not eligible for UAE e-Visa so, they cannot apply for Visa Online. Although they can apply for Visa On Arriva