Congrats on being self-harm free
It could be that your verbal lashing out is indeed a coping mechanism - a replacement for physical harm - but hopefully this will subside over time now that your self-harming is no longer present.
Cursing violently is something that many of us do when we are upset (myself included). It doesn't necessarily mean that it is aimed directly at ourselves, just that we are frustrated and need an outlet.