If you had read marx, you'd know that those are categories that show one's relation to means of production. For instance, an artisan isn't automatically a petite bourgeois or proletariat, it depends on if they own their MOP they work with.
The few sex workers privileged/lucky enough to be relatively independent on onlyfans or other sites are petit bourgeois, those who work in countries where sex work is legalized and is essentially a day job for wage are proletarian, and those who do it illegally, likely under a pimp (who is also lumpen) and/or gangs, essentially being their asset is lumpenproletariat.
The lumpen prostitute was pretty much the only type back then, and them + other lumpens such as thieves and thugs were actually mobilized by reactionaries to coup the French government (18th Brumaire) during Marx's time, thus the analysis that, again, they could be mobilized by reaction.