Generally yes but it is not necessary. Although a higher hash rate means more hashes are solved quickly but it also leads to higher electricity consumption. You need to find the right balance between the hash rate and profitability.