Sure it is! Redis is even fully ACID if you use the right persistence settings complete with transactions support and a WAL. You can even set up locking to abort/rollback transactions. In DB parlance Redis’ isolation level is strict serializability which is stronger than Postgres.
If you mean “it doesn’t have every feature of Postgres” and behaves a little differently then sure but it absolutely is a database.