Here is the full list of all 45 Hogwarts Legacy achievements. It takes around 60-80 hours to unlock all of the achievements on Windows.
Complete all side quests
Defeat enemies in all battle arenas
Unlock all Floo Flames
Win the House Cup
Reach the highest point in the castle, the Headmaster's upper study
Complete Natsai Onai's relationship line
Complete Poppy Sweeting's relationship line
Complete Sebastian Sallow's relationship line
Defeat Ranrok
Subdue the Lord of the Shore
View all Pensieve memories
Discover all cairn dungeons
Rescue the phoenix
Wield a Deathly Hallow
Upgrade a piece of gear 3 times
Find all Demiguise statues
Beat Imelda's time in all broom races
Visit Poidsear Coast
Stun 10 different enemies using a Mandrake
Learn all spells
Save a dragon
Defeat a total of fifty enemies using Petrificus Totalus
Upgrade a piece of gear
Complete all tiers of a challenge
Meet Charles Rookwood in the Map Chamber
Follow butterflies to a treasure
Spend 5 Talent Points
Find the Map Chamber as a Hufflepuff
Invoke Ancient Magic for the first time
Survive the troll attack on Hogsmeade
Attend your first class
Complete the introduction and finish the Sorting Ceremony
Find the Map Chamber as a Slytherin
Find the Map Chamber as a Gryffindor
Find the Map Chamber as a Ravenclaw
Complete all collections
Breed every type of beast
Brew every type of potion
Grow every type of plant
Spend all Talent Points
Use Flipendo ten times – to tip one cow or several
Complete all Merlin Trials
Reach a combo of 100
Use Ancient Magic on every enemy in the game
Reach Level 40