TW mentions of self harm

I’ve seen people diagnosed with quiet BPD say that they picture themselves hurting themselves, others, smashing things etc. And I feel like sometimes thoughts like that just keep running and running in my head, like they’re intrusive thoughts I cannot get rid of. I also have other thoughts as well, like some inappropriate ones(feeling like I NEED to stand up in class and start screaming, sexual thoughts about umm people I do not want to have thoughts about, etc etc) and sometimes I REALLY feel like I’m gonna act out on these impulses, but thankfully I never do (except the hurting myself part). I haven’t been diagnosed with BPD but the more I read about it, especially quiet BPD, the more I feel like I’ve finally found something that explains the way I am. So can the thoughts I mentioned be a part of that too or do I experience them for a different reason?