To be honest, I don't think that you can label all people with EUPD into the same category.
It is a very painful mental health illness to live with, yes, some people just want some attention, but that stems from their pain, some people will also not want attention and will suffer relatively quietly. Most people end up with EUPD because they've been abused. I have the diagnosis myself and I don't know anyone with it who didn't suffer quite extensively throughout their childhood. It is also a condition with a very high suicide rate.
I've never been hospitalised for my mental health, surprisingly, despite also having GAD, Health anxiety, Bipolar, OCD, C-PTSD and depression to manage as well.
But I do know people who have been in several times. One lady has been in probably every year for fairly extended periods, and doesn't have her children. I wouldn't categorise that as looking for attention. I find it really sad for her, and her children that every time she's come out of hospital, armed with a new medication regime, and new coping mechanisms, often a new place to live, that she has to start life over again, which inevitably falls apart again. She's had 2 friends that she's made whilst an in patient, that have killed themselves. She's given up on being in her children's lives because she doesn't want to be inconsistency to them, but can't figure out how to be stable.