No, because there needs to be a third angle.
In a triangle, the sum of the interior angles must equal 180 degrees. If a triangle had two right angles, that would already total 180 degrees, leaving no room for a third angle, which is not possible in a triangle.