This is absolutely true. It’s called design-to-cost or design-to-spec. It’s not how every laptop is made but it’s how a lot of them are
Most companies will say “let’s make a $699 laptop built around amd ryzen with 15” display and 8gb ram” then engineerings job is to work around the constraints
That’s how you end up with plastic instead of aluminum casing, 60hz panel instead of 120, soldered ram, weirdly placed ports, etc
Some laptops are design first (macbook, framework, surface) but even these will have cost cutting measures to bring them to ideal price points