TES - has big cities. Medieval Europe - castles, no cities, the start of urban live marks the end of medieval time period (historical definition, not my).
TES - polytheistic, Medieval Europe - monotheistic.
TES - empire ruled by the emperor and council, strictly unified. Medieval Europe - feudal, that says it all.
TES - has magic, and a which is an adequate profession. Medieval Europe - inquisition and superstitions.
TES - army and Imperial legion, Medieval Europe - knights and banner man, again says ti all - vassal of my vassal is not my vassal I believe the saying was.
Should I go on? As you can see the socially nothing is even remotely similar, so no reason that there should be any persecution for homosixuality because medieval Europe had them..
Clearly you aren't familiar with medieval Italy and Byzantium (AKA Eastern Roman Empire)