I am paraphrasing but I have seen some people argue that by consuming media created by JKR, you could be creating new fans.
I think that if you want to consume any media related to JKR, you are morally obligated to pirate it so that not a single cent goes to her.
If, for example, you like your pirated Hogwarts Legacy game and want to support the studio, they have other games you can buy as proxy. You can even check if they have direct donations and pay them the full game price. Same thing goes for the movies, buy a different movie from the same director or actor so that some of the sale profit goes to them sidestepping the digital ownership of Rowling.