You could also have been referring to retail or low-cost manufacturing.
For others, sex work is validating, empowering, exciting, beautiful, freeing, independent, a way to be seen (that means recognized for who they are - rather than societal conformance pressures), a direct interaction with people who truly appreciate and are thankful for the work, flexible, personal (as opposed to impersonal / replaceable cog), creative, and something that they can get up for in the morning.
What you are describing is not rooted in, or equivalent to "sex work". You can be depressed and want to kill yourself at the perspective of going to the office. That it's an "office" is not the root of it.