You are more than entitled to play a villain. In fact, you're encouraged. More often than not these games are short on villains so it would be nice to have as many as possible. As long as it's a pre-existing Marvel/DC character you're good to go - regardless of their morality.