It depends on the DOT level. In most cases, you’ll have no issues mixing fluid from two different brands if they are both the same DOT level.
However, you should not mix fluids of different levels, especially if your car manufacturer specifies a certain type of brake fluid. For example, don’t add DOT 3 fluid to your car if you already have DOT 4 fluid, as this could impact performance.