Another possibility is that the Ministry of Magic could be the main antagonist. If Harry joins the dark side, the Ministry, which is supposed to uphold the law and order of the wizarding world, would be against him. They would send aurors after him, and there would be a constant battle between Harry and the Ministry's forces.
Dumbledore could be seen as the main antagonist from Harry's new perspective on the dark side. Dumbledore represents all that is good in the wizarding world, and if Harry has turned to the dark, Dumbledore would be the one trying to stop him, to bring him back to the light. So in this context, Dumbledore becomes the opposition that Harry has to face.
It could be Dumbledore. In a twisted take on the story, if Harry joins the dark side, Dumbledore would be the one trying to stop him. Dumbledore has always been the guiding force for the good side, and Harry's defection would be a huge blow. Dumbledore would then have to face the difficult decision of either trying to save Harry or stopping him by any means necessary, making him the antagonist from Harry's new 'dark' perspective.
It could be the remaining Jedi. Since Luke has joined the dark side, the Jedi who still uphold the light side would be his natural antagonists. They would see him as a threat to all they stand for and would try to stop him from spreading the influence of the dark side. For example, Leia, if she still adheres to the Jedi teachings, would be in direct opposition to Luke.
Obviously, Harry Potter himself would be the central character. Then, Voldemort would be a major figure as he is the main representative of the Dark Side. Bellatrix Lestrange could also play an important role as she is one of Voldemort's most loyal followers. She might be the one to initially tempt Harry or guide him into the ways of the Dark Side.
It could be the remaining Jedi. Since Rey is turning, the Jedi who still uphold the light side would see her as a threat. They would try to stop her from causing more harm with her newfound dark side powers.
Voldemort would likely be the main antagonist still. He might see Harry's potential as an animagus as a way to strengthen his own forces. His Death Eaters would also play a role in trying to convince Harry to join the dark side.
It could be Hawk Moth. He might finally succeed in corrupting Adrien. Hawk Moth could use Adrien's inner doubts and fears to his advantage. For instance, if Adrien is worried about losing his loved ones, Hawk Moth could promise him a way to keep them safe if he joins the dark side.
It could be the remaining Jedi. Since Luke is turning to the dark side, the Jedi who still uphold the light side values would be against him. They would see him as a threat to the balance they are trying to maintain and would try to stop him from fully embracing the dark side.
Perhaps a powerful dark side cult leader. They could manipulate Ezra into believing that their way is the right one and that the dark side is a misunderstood power. The cult leader might use Ezra's own insecurities and desires to draw him into the dark side.
It could be Dumbledore. If Harry turns to the Dark Side, Dumbledore, who has always been a guiding figure for Harry, would be the main one to oppose him. Dumbledore represents the light and everything Harry is now against. Dumbledore would try to stop Harry from causing chaos and destruction in the wizarding world.
It could be a new dark wizard who has been secretly building his power. Maybe this wizard uses the allure of the cane and the idea of a new kind of dark magic to draw Harry in. He might be a former follower of Voldemort who has his own plans for domination and sees Harry as a useful tool.