Modding a character in a video game is generally not against the law. Many games even have thriving modding communities, and developers often embrace the creativity their players bring.
The main thing to keep in mind is to avoid anything seriously extreme or that violates a game's terms of service, especially in online games where mods can affect others. As long as you stay reasonable, you should be fine.