I have never heard of this in the context of ibuprofen. I know it’s bad on the stomach which means you shouldn’t take it for long periods of time (unless prescribed by a doctor). However, when the source of the pain disappears it’s pretty easy to kick the habit. Very different from opioids that are addictive beyond their painkilling ability.
Also between European countries the price of otc painkillers differs tremendously, and my impression is that European pharmacies generally only sell small packages in an effort to maximise profits.
How exactly do small packages limit use? There is no limit to the amount of packages you can buy. However, those small packages are severely overpriced. I think it’s safe to say that profit considerations played a role in their design.