I both think that a lot of OCD is like, these delusions that you do not have agency over yourself and that OCD is made worse or could even be related to being consistently denied agency in childhood (or at least for me. can't speak for others)
And I think that expressing it and experimenting with a lack of it in my writing is inspired directly by these things
Like my worst OCD thoughts all stem back to being powerless over things I can't control in my own mind that I feel like I should have full control over, but because I'm ND I just... don't.
I have no control over the direction of my thoughts and my nervous system's response to them. It often feels like my voices come from another person, or outside of me, or are imprinted upon me by something other than me, or that something else or someone else resides in me, or that I'm watching myself make actions that aren't mine, or that work isn't mine. I look at things I have made and it feels like someone else woke up, did them, and slept again, and now I'm viewing what they did - but it's just me. The memories of me doing it don't feel like they belong to me at all.
The worst ones are hOCD which comes and goes, but the worst of it makes me feel out-of-body and lock myself away from others because I'm afraid I'll somehow "snap against my will" and "kill people, also against my own will, but it's secretly my will, but it isn't, but somehow it is". It's clearly delusional but, eh, yknow, OCD isn't classified as that or w/e