as salam alaikum
to become a lawyer is permissible provided that you do not lie, cheat or support oppression and mischief against a third party.
Sometimes it may be very difficult to be "professionally clean" in certain circumstances but a Muslim is always required to behave at his best and to promote truth anywhere he is.
With prayers for your success.