Of course they are profiting these (pirate) courses. Content creators with infringed content have already charted these waters. One creator had $7k+ of his (stolen) content sold. There were no refunds and Udemy refused to reimburse the creator.
Can you link to this information, I am not saying your wrong but if true this is relevant to the discussion, because if they kept the money then that is the real thing we should be talking about, as this is highly questionable behavior.