Not to give away anything or declare spoiler warnings, but there are three main endings that the player can achieve in Hogwarts Legacy. There is a 'good', 'bad', and universal ending that deals with everything you have chosen.