yes because in aqueous solutions, water is present and hence, involved in electrolysis too. as a result, sodium cannot be obtained as the more reactive hydrogen(or hydronium if u prefer) is displaced instead. however, in concentrated aqueous sodium bromide, u may be able to get sodium displaced instead.