Gallowgate by K.R. Alexander (MG)
It Ends in Fire by Andrew Shvarts (YA)
Scholars and Sorcery series by Eleanor Beresford (YA)
A Hundred Vicious Turns by Lee Paige O’Brien (YA)
My Name is Magic by Xan van Rooyen (YA)
Bonus: These are all prose novels, but for a YA graphic novel set at a magical culinary school, check out Basil and Oregano by Melissa Capriglione
Double Bonus: The anthology The Grimoire of Grave Fates ed. by Hanna Alkaf and Margaret Owens is set at a magic school and has plenty of queer content