No. Beams are only allowed to be wide flange, rectangular tube or channels. If the member is not directly supporting the beck, but just happens to be horizontal, then using a horizontal brace would be advised. Otherwise making a square tube with equivalent…