The correct answer is: No, because there needs to be a third angle.
A triangle can only have a total angle sum of 180 degrees. If a triangle had two right angles (each 90 degrees), the sum of those two angles would be 180 degrees, leaving no degrees for a third angle, which is not possible. Therefore, a triangle cannot have two right angles.