Seems a little dark'n'edgy for Rowling, but I guess (like anything of this sort) it can't be ruled out.There's a conspiracy theory that "Gilderoy Lockhart" is a subtle nod to Gilles De Rais.
But that's what you're getting at with this right?There's the whole thing about her making the bankers goblins too...
There's also the stuff about her having an Asian character called "Cho Chang".