Yup, that or if buying new then check out older models that may be in clearance/sale. You don’t need something with a 4070 etc to run Linux, but you could potentially manage to find something with an older-gen video card and decent/upgradeable RAM. There should also be more easily found discussion over Linux compatibility
With laptops, also watch out for models with soldered-on RAM or low maximums, which can limit upgrades.