Use iMessage on Mac without signing into iCloud in System Preferences?
You can sign into Messages separately to iCloud through Messages → Preferences → Accounts as you mention. You won't be able to use Messages in iCloud unless you also sign into iCloud.