Not really.
Norway is not EU, it's EEA, which is more like what you describe (the population rejected joining twice in referendums, but the politicians still wanted some treaties).