Meh.
I think it depends, like what are you doing that makes them not like you and is it really important that they like you?
If you're talking partners(s.o.) it think its important to be who you are because if you pretend to be someone else, one of you is going to get bored and the other one is going to be disappointed. In what sense do mean 'nobody' (friend, partner, coworker/colleague, ect.)? As a person in general?
If literally "nobody" likes you, you probably have some psychological issues that you should work on.
As far as being an accepted person goes, I see two paths to that. Self-development and compromise.
Self-development is worthwhile, although you can never develop into something everyone likes. Though I suppose we were never initially talking about being "widely-accepted." Compromise is sometimes necessary to further relations or maintain stability.
Changing who you fundamentally are (morals and perspectives, to fit in) for others has always seemed needy to me. Working on yourself seems worthwhile, as does compromise, if you want better relations. Whether you choose either route is a matter of personal taste, and I feel there is no "yes" or "no" answer to your question.
If being disliked by absolutely everyone isn't enough to induce a real transformation, then refusal to address change will do more damage than good.
It's not really a question if one should change or not, from the time one asks if they should change, the transformation of them has already begun. If they pridefully deny the reality before them for the sake of maintaining the egotistical identity, they'll change for the worse and end up miserable.
The change that matters is a common human ability. Of course faking it doesn't work, all that's required is a bit of consideration for the self, and that can only be found in others.
The change that doesn't matter, still matters, as it matters when we, don't matter.
To be liked by no one would mean you also don't like yourself. People don't really change, but they do adapt, and learning to like and accept yourself would in a sense be adapting.
It's a worthy endeavor when it's not subconciously motivated by self loathing or the need to be accepted by others.