The short answer to your question is Yes. That is why they were punished for the improper actions and complaints.
Beha'aloscha 11:1 starts out that
The people were looking to complain, and it was evil in the ears of
the Lord. The Lord heard and His anger flared, and a fire from the
Lord burned among them, consuming the extremes of the camp.
That is that the people were looking for an excuse to complain about things and decided to cause trouble.
Rav Hirsch translates
were as if in mourning over themselves in order to feel as if they were cut off from the rest of the world.
After they were punished for totally baseless complaining, the eirev rav came up with an excuse of lack of meat
וְהָאסַפְסֻף אֲשֶׁר בְּקִרְבּוֹ הִתְאַוּוּ תַּאֲוָה וַיָּשֻׁבוּ
וַיִּבְכּוּ גַּם בְּנֵי יִשְׂרָאֵל וַיֹּאמְרוּ מִי יַאֲכִלֵנוּ
This is translated by Rav Hirsch as
But the rabble that they had taken in amongst them goaded themselves
on to desires and then the children of Israel also again began to weep
and they said: "Who shall give us meat to eat?"
Who will feed us meat?: Did they not have meat? Does it not say, “Also a great mixed multitude went up with them, and flocks and
cattle” (Exod. 12:38)? You might argue that they had already eaten
them. But when they were about to enter the Land, is it not written
that, “the children of Reuben had much cattle” (Num. 32:1)? The answer
is that they were seeking a pretext. — [Sifrei Beha’alothecha 1:42:4]
That is to say, they did not lack anything in themselves but they pretended to have a lack because they did not want to actually have to work for what they received or even have to go out and collect the manna. Additionally they did not want to have to imagine what taste the manna should have, but as said in verse 5:
We remember the fish that we ate in Egypt free of charge, the
cucumbers, the watermelons, the leeks, the onions, and the garlic.
which we ate in Egypt free of charge: If you say that the Egyptians gave them fish free of charge, does it not already say,
“Straw shall not be given to you” (Exod. 5:18)? Now if straw was not
given free of charge, was fish given to them free of charge? So what
does “free of charge” mean? Free from [the burden of] precepts. —
[Sifrei Beha’alothecha 1:42:5]
One can also say that they did not want to have to kill and eat their own cattle, but to maintain the flocks and riches that they had brought from Egypt. They also did not want to have to prepare the manna that they had gathered.
Note that it says in Beha'aloscha 11:13
Where can I get meat to give all these people? For they are crying
on me, saying, 'Give us meat to eat.
They do not want to use their own cattle, nor do they want to hunt deer or catch fish or trap birds. They want me to provide it for them miraculously, over and above the miracles that Hashem has provided for them.
Aws Rav Hirsch says.
מֵאַיִן לִי בָּשָׂר They know quite well that they are demanding something from
me which is quite beyond my power to give them. And as,
having the completely sufficing and satisfying food in the manna, what
they are asking for is something dispensable and superfluous. Their
demand is nothing but plaguing tormenting of the man in whom they see
the leader of their fate. And had he been the right man he would have
long ago won their love and respect which would never have allowed
such vexatious desires to arise.
Just because the demand was for something quite dispensable and
superfluous neither Moses nor the people could expect that Hashem
would grant it in some miraculous manner.
Rav Hirsch continues in Beha'aloscha 11:22, as a result of being told to appoint the 70 elders:
So that Moses must have assumed that this provision was expected to
lie within the sphere of ordinary duties for him and the elders to
attend to from the natural sources at their disposition
Hashem then says that He could provide sufficient meat from the natural conditions of the world, and that He knows that it is really an excuse which is why they will be punished.
Be careful what you ask for - you may actually be given it as a punishment.