Some DSOs might have gain errors of 5% and the bandwidth is specified by the 3dB point, so if you are using them near the BW limit and it isn't an accurate model, then you're right. However, at 1-2MHz on an oscilloscope with a 200MHz BW and a manufacturer-specified DC gain accuracy of "less than 1%, 0.5% typical" (SDS2000X HD spec)
Yes, that's correct - under some specific favorable conditions, you may achieve a 0.5–1% error when taking readings on an oscilloscope at certain frequencies. As you know, even a broken clock can show correct time at least twice per day

However, the challenge lies in the oscilloscope's frequency response, which is typically not linear. Instead, it follows a curve and often exhibits both positive and negative ±3 dB variations within its operating bandwidth.
While it is true that these variations are frequently more pronounced near the oscilloscope's bandwidth limit, this cannot be taken as a general rule. Many oscilloscopes also exhibit ±3 dB deviations in the middle of their operational bandwidth. And even more often at beginning of operational bandwidth (at low frequencies below 500 Hz).
In most cases, the error tends to be more significant above BW/3 and below BW/1000. Operating within this frequency range generally yields accurate measurements, but exceptions can occur. For example, an amplitude error of up to 30% within this range may still fall within the oscilloscope's specified tolerances.
Therefore, you can certainly use an oscilloscope for preliminary assessments, but keep in mind that its specifications allow for significant deviations, which may not always be obvious - especially to a beginner. This should be taken into account. Note that an oscilloscope exhibiting such large errors in most cases functioning correctly, as these deviations are within its specified tolerances.
For example, modern Siglent oscilloscopes often can have up to 25-30% amplitude error near 30-50 Hz which can be easy detected visually as a waveform distortion on a low frequency square wave. And this is within it's specification.
Here is example of a very good 50 Hz square wave 1 Vpk-pk on a modern Siglent 100 MHz oscilloscope:

These waveform distortions are due to frequency response curve of oscilloscope and its 30% amplitude measurement error at 50 Hz is within ±3 dB specification for 100 MHz bandwidth.
Of course, I deliberately chose conditions under which the oscilloscope produces such a large error, and for other frequencies, the precision is much better. However, as you can see, this occurs far from the oscilloscope's bandwidth limit, so when using an oscilloscope, you're not guaranteed to avoid encountering such a large error.