No, you could be doomed both ways, or safe both ways, or there may be more or fewer than two doors, more or fewer than two brothers, they may not be brothers, maybe none of them are truthful etc
When your conversation partner is chaotic/* you can't trust what they say
The person telling the story could always tell lies, which would mean his brother would only tell the truth.
So it’s the same as always?
Which door would your brother say leads me out and then go through the other one?
No, you could be doomed both ways, or safe both ways, or there may be more or fewer than two doors, more or fewer than two brothers, they may not be brothers, maybe none of them are truthful etc
When your conversation partner is chaotic/* you can't trust what they say
Or the person telling the story lies some of the time in which case it's not a riddle and you're just talking to a normal person