Of course! Many people study two instruments at once, and find that their progress on one instrument propels them forward on the other.
If you mean two teachers on the same instrument, though, please note that many music teachers consider it unethical to work with another teacher’s student without their knowledge. If you do decide to sign up with two piano teachers, for example, be sure to let both teachers know your intentions from the outset.