Since you already have an iMac, get the base config on the M2 as it is more than enough for what you mentioned earlier. The forum got you scared for no real reason. Don't overthink the obvious.
Two questions that should help you out -
How long do you plan to use this computer and should it be future-proof?
and
Which one is upgradable - drive space or RAM? (hint - external fast SSD)