If braking in a curve:
It is possible to use both brakes while turning, but it must be done with great care. Some of the tires' usual traction is being used to make the turn while the motorcycle is leaning, so less traction is available for stopping.