Yes, a person might feel proud of achieving success through dishonest means, even though it is bad or wrong. For example:
Imagine someone who cheats in an exam or a competition to secure a top position. Despite knowing that cheating is unethical and against the rules, they might feel a sense of pride in their ability to outsmart others and achieve the desired outcome. This feeling of pride could arise from the accomplishment of their immediate goal, such as obtaining a high grade or winning a competition, without fully considering the negative consequences of their actions on others or the long-term implications on their own integrity and character.
In such cases, the individual's pride might be based on the outcome rather than the process or the moral integrity of their actions. This illustrates how emotions like pride can sometimes overshadow ethical considerations, leading people to feel proud of actions that, objectively, are wrong or harmful.