Yes—but they're different.
In Spain, a quesadilla is typically a tapa or pincho: a small flour or corn tortilla folded over melted cheese + ham (jamón serrano/ibérico), sometimes with tomato or pepper. Served warm in bars.
This differs from the Mexican quesadilla (larger, corn tortilla, diverse fillings: huitlacoche, flor de calabaza, tinga, chicharrón, etc.).
Spain's version reflects its own cheese/cured meat tradition + Mexican influence via colonization and modern migration. You'll find them in tapas bars nationwide.