Nothing wrong with this. Some applications really are compute bound and don't need much RAM, such as a homemade surveillance camera system I have, presently running on a couple of Raspi 4s. Suppose I wanted to upgrade to Raspi 5, why spend extra money on RAM that's not needed? These things run headless with the only GUI exposed via web server.