The city may soon ask the state Legislature for permission to prohibit landlords and real estate brokers from charging prospective tenants a broker’s fee to move into a residential unit.