Thanks for your imput, Dancing Maenid
I'm not bothered by the erotica/sex worker comparison. I don't feel like a stripper for writing erotica in general. But I have written stories purely for the purpose of turning somebody on. I've actually written a couple stories on commission because someone liked my writing and really wanted a story about a particular fantasy of theirs. That's obviously not like stripping or prostitution, but I do feel a bit like a sex worker when I do something like that. I feel like the only difference between that and something like being a phone sex operator is that I'm less personally involved. So I think it depends on the type of erotica and the context in which it's written.
I'm actually more bothered by the idea some people have that it's super easy to make money writing erotica, regardless of quality. If you make an effort, that's fine. But I think it does a disservice when it's not taken seriously at all.